Commit Graph

28 Commits

Author SHA1 Message Date
ChronosX88
445fbf44f0
Fix infinity loop when syncing mempool 2021-07-30 01:53:48 +03:00
ChronosX88
d179ffcd76
Implement consensus state change watching to fix stage race conditions 2021-07-27 02:00:15 +03:00
ChronosX88
5e0c7f02fa
Integrate Uber's Fx DI framework, refactor node init code massively 2021-07-22 00:56:58 +03:00
ChronosX88
550d69fb26
Fix approve count for PREPARE state in consensus 2021-07-20 01:40:49 +03:00
ChronosX88
cbce24fdce
Ignore block validation for genesis block 2021-07-20 01:39:14 +03:00
ChronosX88
ed9fa658ed
Make block hash more random 2021-07-20 01:38:55 +03:00
ChronosX88
a6cf757fcf
Implement handler for NewBlock message in SyncManager, refactor block validation architecture 2021-07-19 23:19:06 +03:00
ChronosX88
f59aaa6cf2
Fix issue when node creates tx with different hash but with the same content (because of slightly diffeent timestamp) 2021-07-19 21:41:42 +03:00
ChronosX88
13951d5c32
Implement event bus for cross-communication between Dione components, overhaul logging part 2021-07-15 23:51:22 +03:00
ChronosX88
d7a1e87939
Make blockchain finally working! 2021-07-12 02:23:00 +03:00
ChronosX88
2845a04704
Fix small bugs/mistakes/typos 2021-07-11 03:32:58 +03:00
ChronosX88
5aadbab600
Refactor dispute manager to new blockchain architecture 2021-07-11 03:08:03 +03:00
ChronosX88
5645d1951b
Fix some typos 2021-07-11 01:07:04 +03:00
ChronosX88
ea9ceaeda9
Implement block validation at PREPREPARE stage 2021-06-11 14:40:39 +03:00
ChronosX88
ac2bf637a8
Simplify validation process of beacon entries 2021-06-10 23:31:44 +03:00
ChronosX88
4e7294e046
Do massive overhaul of consensus part due to new architecture with blockchain, implement chain selection 2021-06-09 00:30:23 +03:00
ChronosX88
012d4a68c3
Rename BlockPool to BlockChain 2021-06-05 00:19:45 +03:00
ChronosX88
8445baafdb
Implement handling new transactions announced on network in SyncManager 2021-06-04 00:21:14 +03:00
ChronosX88
809c5f2a23
Fix mempool init in SyncManager 2021-06-02 22:48:56 +03:00
ChronosX88
2afe85853f
Implement mempool synchronization 2021-06-02 22:45:55 +03:00
ChronosX88
c0e69ff1d0
Implement GetAllTxs function in mempool 2021-05-31 22:24:07 +03:00
ChronosX88
43871c6141
Add validation of tx hash when syncing 2021-05-27 00:29:37 +03:00
ChronosX88
b51a5ffe75
Implement sync manager, node p2p network rpc service, initial sync algorithm 2021-05-27 00:06:46 +03:00
ChronosX88
155fe7bc71
Implement fetching block header by height in blockpool 2021-05-26 23:58:31 +03:00
ChronosX88
fb84ab8ad6
Add merkle proof of last block hash to BlockHeader, add merkle proof of tx hash to Transaction 2021-05-26 23:57:54 +03:00
ChronosX88
dde32e11dc
Implement indexes for blockpool database and auto maintaining of it 2021-05-25 18:32:06 +03:00
ChronosX88
6d50f37a12
Implement storing latest block hash in blockpool storage 2021-05-20 00:53:58 +03:00
ChronosX88
5e48c0d176
Move blockchain-related code into separate package 2021-05-19 23:55:00 +03:00