Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

31 update transfer to use checkbalance #33

Closed
wants to merge 50 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
6ec157f
feat: Base setup for node testing
tildeeine Mar 6, 2024
3c1bbc0
feat: Started outline of tests for NodeService, set up test for clien…
tildeeine Mar 6, 2024
109fc7f
docs: Updated README with setup for testing instructions
tildeeine Mar 6, 2024
36a3289
fix: Fixed errors with running tests classes. Tests don't pass, will …
tildeeine Mar 6, 2024
a1a047c
fix: Fixed maven dependencies and mockito use. Tests don't finish now…
tildeeine Mar 7, 2024
b25785a
fix: Fixed testing errors, first test running
tildeeine Mar 7, 2024
8dd3d55
feat: Added basic running tests
tildeeine Mar 7, 2024
95082d7
Merge: Merge branch 'main' into 6-write-system-tests
tildeeine Mar 7, 2024
06b9097
feat: Started setup for byzantine node testing
tildeeine Mar 7, 2024
81c7e4d
chore: Cleanup for basic tests
tildeeine Mar 8, 2024
73b85b6
feat: Moved nodeService functionalities for client to clientService c…
tildeeine Mar 14, 2024
53ad79f
Merge branch 'main' of github.com:nemisis84/Istanbul-BFT-Consensus-Al…
tildeeine Mar 14, 2024
58688e9
feat: Setup for restructure of tests
tildeeine Mar 18, 2024
b07ea28
Merge branch 'main' into 18-expand-on-tests
tildeeine Mar 18, 2024
a17a17e
feat: New testbase setup
tildeeine Mar 18, 2024
dff5fb5
feat: working on test, spy not working
tildeeine Mar 19, 2024
55071dc
fix: Fixed mocklink setup, can now listen on link. test running
tildeeine Mar 19, 2024
94b8b39
Merge branch 'main' into 18-expand-on-tests
tildeeine Mar 19, 2024
7ac47aa
feat: Test for no commiton no quorum
tildeeine Mar 19, 2024
c502b9c
feat: Added test, added early retrn validation
tildeeine Mar 19, 2024
ee0f2a4
feat: Setup for further tests
tildeeine Mar 19, 2024
2b1765a
feat: Added test, fixed clientdata for commit messages
tildeeine Mar 20, 2024
3c077a7
fix: Correct message type sent in test
tildeeine Mar 20, 2024
3420f13
feat: New test
tildeeine Mar 20, 2024
a362bb9
feat: Account setup
tildeeine Mar 20, 2024
e3812ff
Fixed merge conflict
nemisis84 Mar 21, 2024
df8f648
Passes tests
goncaloxfernandes Mar 21, 2024
92a4e20
feat: Setup for balance
tildeeine Mar 21, 2024
f6b0760
Merge branch 'main' into 23-transfer-and-check_balance-functions
tildeeine Mar 21, 2024
8b3f0fe
fix: text alignment
tildeeine Mar 21, 2024
60a64a6
Added minor fix, merged
tildeeine Mar 21, 2024
81866de
Merge branch '18-expand-on-tests' into 23-transfer-and-check_balance-…
tildeeine Mar 21, 2024
e70d5cb
feat: Started transaction handling, no intial balance setup yet
tildeeine Mar 21, 2024
0b4e227
feat: Setup startbalance for transactions. Only building 2 services, …
tildeeine Mar 21, 2024
e7b4ffd
fix: Debugging balancecheck
tildeeine Mar 22, 2024
04be927
fix: Minor fixes, service now responding but error on client side
tildeeine Mar 22, 2024
983e465
fix: More mminor fixes, still invalid response
tildeeine Mar 22, 2024
5457e68
fix: running i guess
tildeeine Mar 22, 2024
b70ba27
fix: Improved return statement
tildeeine Mar 22, 2024
c49f37b
fix: Transfer now starts consensus, but something goes wrong at commit
tildeeine Mar 22, 2024
bbaf84f
feat: Transfer working
tildeeine Mar 22, 2024
faa82c6
feat: Setup for nonce
tildeeine Mar 23, 2024
3f90ad7
feat: Added nonce validation
tildeeine Mar 23, 2024
faa2992
fix: Fixed test payload to work with nonce setup
tildeeine Mar 23, 2024
d5632ec
Merge branch 'main' into 27-pretect-against-replay-attacks
tildeeine Mar 23, 2024
dbee251
feat: Added checkBalance before transfer for nodes
tildeeine Mar 23, 2024
3941341
Merge branch 'main' into 31-update-transfer-to-use-checkbalance
tildeeine Mar 23, 2024
701974c
Don't sleep the leader at start
nemisis84 Mar 23, 2024
37fd546
fix: Fixed typing of message
tildeeine Mar 23, 2024
4933b17
Merge branch '31-update-transfer-to-use-checkbalance' of github.com:n…
tildeeine Mar 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't sleep the leader at start
nemisis84 committed Mar 23, 2024
commit 701974c9920eec5b1305557087c13f060e693c6e
Original file line number Diff line number Diff line change
@@ -53,8 +53,6 @@ public Node(String id, String nodesConfigPath, String clientsConfigPath) {

nodeService.initialiseClientBalances(clientConfigs);

if (nodeConfig.isLeader())
Thread.sleep(30000);

nodeService.listen();