Commit Graph

54 Commits

Author SHA1 Message Date
ChronosX88
5e0c7f02fa
Integrate Uber's Fx DI framework, refactor node init code massively 2021-07-22 00:56:58 +03:00
ChronosX88
a6cf757fcf
Implement handler for NewBlock message in SyncManager, refactor block validation architecture 2021-07-19 23:19: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
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
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
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
0695d23866
Refactor pubsub package 2021-06-03 00:19:52 +03:00
ChronosX88
809c5f2a23
Fix mempool init in SyncManager 2021-06-02 22:48:56 +03:00
ChronosX88
b51a5ffe75
Implement sync manager, node p2p network rpc service, initial sync algorithm 2021-05-27 00:06:46 +03:00
ChronosX88
7e3fca5de5
Refactor cache package to be more general purpose component 2021-05-13 14:49:38 +03:00
ChronosX88
ae9c21baaf
Refactor and cleanup consensus code architecture 2021-04-30 22:55:12 +03:00
ChronosX88
708c0559c7
Fix NPE when receiving commit message of unknown consensus 2021-04-21 22:37:32 +03:00
ChronosX88
b1cfc81cf7
Implement customizing dispute vote window time in dione config 2021-04-21 00:38:54 +03:00
ChronosX88
acf6a5cdcb
Add additional loggin when starting node 2021-04-19 22:35:40 +03:00
ChronosX88
1b5f9a0d30
Fix some consensus code which was broken by refactoring 2021-04-16 00:01:27 +03:00
ChronosX88
2441d2ca40
Implement deriving eth private key from mnemonic phrase 2021-04-15 00:04:21 +03:00
ChronosX88
4006a2effa
Implement initialization of dispute manager in node 2021-03-17 17:31:27 +03:00
ChronosX88
3f0063219f
Integrate DioneOracle contract, cherry-pick event cache implementation from master branch 2021-03-05 22:29:09 +03:00
ChronosX88
289906f73a
Generate bindings for DioneDispute contract and add to EthereumClient 2021-03-05 21:40:17 +03:00
ChronosX88
56381b08bf
Fix ordering of pubsub subsystem initialization 2020-12-07 19:22:47 +04:00
ChronosX88
2278277f76
Fix cbor marshalling/unmarshalling pubsub message (invalid UTF8 string), partly fix gossipsub (sadly, bootstrap node still doesn't see other messages in network) 2020-12-04 22:30:03 +04:00
bahadylbekov
a42776be67 add: filecoin message validation, secp signature 2020-12-02 17:03:39 +03:00
ChronosX88
221cf45dad
Implement request event validation from cache 2020-12-02 17:42:02 +04:00
ChronosX88
027f060703
Implement basic event log cache 2020-12-01 01:39:06 +04:00
ChronosX88
e55c19a38d
Change node initialization process: implement manual dependency injection to prevent NPE issues 2020-11-27 22:47:58 +04:00
ChronosX88
003f49174b
Implement full task validation (signatures/vrfs/wincount/etc.) 2020-11-27 20:16:08 +04:00
ChronosX88
b5893b03f4
Implement dynamic RPC client method managing 2020-11-24 01:59:27 +04:00
bahadylbekov
52ec8dbd35 add: filecoin api schema, eth-contracts types changes 2020-11-23 19:53:44 +03:00
ChronosX88
d38bc81dcf
Make cbor message encoding for consensus message model, slightly refactor pubsub part 2020-11-18 23:53:52 +04:00
ChronosX88
fc170d05ac
Refactor RPC clients and interface 2020-11-18 22:33:03 +04:00
ChronosX88
15190a5b8a
Rewrite consensus part 2020-11-15 17:46:58 +04:00
ChronosX88
b04ba982a9
Fix pubsub issues 2020-11-15 14:11:07 +04:00
bahadylbekov
2526f65825 add: fixed ed25519 cryptography, added ethereum subscription, solana client integration into node, miner and consensus changes 2020-11-15 08:59:46 +03:00
bahadylbekov
3e68466665 fix: changed aggregator contract logic, dioneStaking contract, filecoin client 2020-11-14 14:25:14 +03:00
ChronosX88
5a730b9493
Add setting up beacon, wallet, miner subsystem in node's setupNode 2020-11-14 04:32:50 +04:00
bahadylbekov
1ea482c379 add: updateStake when miner starts to mine new task 2020-11-13 18:51:23 +03:00
ChronosX88
0b37896af9
Add Type field to DioneTask, rename rpcclient to ethclient, rewrite whole signing system in Dione, add some comments to consensus process (w/ mining system) 2020-11-12 18:18:30 +04:00
ChronosX88
6636a279e7
Refactor node unit test code, make it passable 2020-11-04 22:17:01 +04:00
ChronosX88
3f252de3f8
Integrate go-libp2p-pex peer discovery module 2020-11-04 21:46:35 +04:00
bahadylbekov
b3f22f151d add: leader election proofs, beacon chain randomness, miner wallet and base miner structure 2020-10-28 18:35:56 +01:00
ChronosX88
d47925db4b
Change DHT implementation to dual DHT 2020-10-22 02:04:31 +04:00
ChronosX88
14240186bf
Change logger library to logrus 2020-10-22 00:36:05 +04:00
ChronosX88
5f1f11d099
Implement PBFT Consensus manager and rename the current module 2020-10-21 23:54:40 +04:00
bahadylbekov
9bb4f1cfa3 fix: typo fixes and dione image upload 2020-10-20 21:58:24 +03:00
ChronosX88
a1db429717
Do massive refactor - remove unneccessary stuff, refactor Node, rewrite EtheriumClient, implement PubSubRouter 2020-10-20 22:18:36 +04:00