Commit Graph

209 Commits

Author SHA1 Message Date
ChronosX88
041d6b2d2f
Code cleanup 2021-09-02 20:34:41 +03:00
ChronosX88
4c11425d18
Remove old code 2021-08-26 00:04:00 +03:00
ChronosX88
0dbcdbde70
Make Ethereum client as interface 2021-08-25 22:10:56 +03:00
ChronosX88
f074007c75
Refactor blockchain database for modularity 2021-08-25 00:02:37 +03:00
ChronosX88
b9047797cc
Rename some consensus subsystem components, clean up init code 2021-08-24 22:41:48 +03:00
ChronosX88
c1cb7a72f7
Refactor cache subsystem for modularity 2021-08-24 22:36:42 +03:00
ChronosX88
656a7f2b29
Add states for submission/dispute to make dispute manager more persistent 2021-08-24 18:18:38 +03:00
ChronosX88
6e657cd20c
Add build status badge to README 2021-08-05 23:25:53 +03:00
ChronosX88
c4791f84ab
Change name of job in Github Action 2021-08-05 23:13:58 +03:00
ChronosX88
5d5dc1878e
Add Github Action for building Dione 2021-08-05 23:12:50 +03:00
ChronosX88
d048795140
Add Dockerfile 2021-08-05 23:12:31 +03:00
ChronosX88
1d12828313
Merge pull request #16 from Secured-Finance/feat/blockchain
Implement blockchain for Dione, fix most consensus issues
2021-08-02 20:48:48 +03:00
ChronosX88
46716ed52d
fix small typo 2021-08-02 20:40:25 +03:00
ChronosX88
7e80654c87
Compare by block timestamp if stake is equal in block selection mechanism 2021-08-02 20:28:44 +03:00
ChronosX88
65afa056bb
FINALLY fix consensus desync issue!!! WOOHOOOOOOOO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2021-07-30 02:04:27 +03:00
ChronosX88
445fbf44f0
Fix infinity loop when syncing mempool 2021-07-30 01:53:48 +03:00
ChronosX88
e8b220455e
Fix sync/race issues in consensus, refactor accepted blocks sorting 2021-07-29 00:48:01 +03:00
ChronosX88
cd671e6165
Change temporarily pubsub engine to FloodSub 2021-07-29 00:47:09 +03:00
ChronosX88
1670a6b287
Add Etherscan plugin for Hardhat 2021-07-28 21:52:10 +03:00
ChronosX88
b9c39ac7ba
Fix DioneOracle unit test 2021-07-28 21:13:43 +03:00
ChronosX88
7e8e4ccc41
Separate secrets to another file, add some Dione-related tasks to hardhat project 2021-07-28 21:13:30 +03:00
ChronosX88
225c84e8a8
Implement creating necessary directories when creating private key file 2021-07-27 02:03:12 +03:00
ChronosX88
d179ffcd76
Implement consensus state change watching to fix stage race conditions 2021-07-27 02:00:15 +03:00
ChronosX88
430a994a76
Return reward to stake balance instead of node's token balance 2021-07-22 01:02:42 +03:00
ChronosX88
6d73e1103d
Merge pull request #15 from Secured-Finance/refactor/fx
Integrate Uber's Fx DI framework
2021-07-22 01:02:36 +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
bb3bf032d5
Update go-libp2p-pex dependency to v1.1.2 2021-07-15 23:55:06 +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
6c18edd471
Update .gitignore 2021-07-11 03:33:28 +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
956de703e8
Implement submission for dione task from block transaction 2021-07-11 01:07:35 +03:00
ChronosX88
5645d1951b
Fix some typos 2021-07-11 01:07:04 +03:00
ChronosX88
2952983c94
Fix some minor mistakes in various places 2021-06-15 00:45:35 +03:00
ChronosX88
29c38e80b7
Add missing send to ready channel in consensus state when mining new block 2021-06-11 14:43:48 +03:00
ChronosX88
ea9ceaeda9
Implement block validation at PREPREPARE stage 2021-06-11 14:40:39 +03:00
ChronosX88
de5d9cf664
Implement making RPC request & creating DioneTask for holding result of oracle request in transaction payload 2021-06-10 23:32:39 +03:00
ChronosX88
ac2bf637a8
Simplify validation process of beacon entries 2021-06-10 23:31:44 +03:00
ChronosX88
ad45e0c554
Fix validation for PREPARE/COMMIT messages 2021-06-09 00:39:48 +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
34c88a8d01
Fix LatestBeaconRound in Drand 2021-06-05 00:14:24 +03:00
ChronosX88
2eae45ca38
Add watching new DRAND entries and fix drand entry validation 2021-06-05 00:07:04 +03:00
ChronosX88
8445baafdb
Implement handling new transactions announced on network in SyncManager 2021-06-04 00:21:14 +03:00