Commit Graph

170 Commits

Author SHA1 Message Date
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
b2e956d1d4
Fix issue with consensus payload signature and slightly fix pre_prepare consensus code handling 2020-11-21 01:29:30 +04:00
ChronosX88
d38bc81dcf
Make cbor message encoding for consensus message model, slightly refactor pubsub part 2020-11-18 23:53:52 +04:00
ChronosX88
354d0dd833
Merge branch 'solana-hackathon' 2020-11-18 22:53:10 +04:00
ChronosX88
215f4d5bd9
Move RPC Response from solana/types to rpc/types 2020-11-18 22:35:34 +04:00
ChronosX88
fc170d05ac
Refactor RPC clients and interface 2020-11-18 22:33:03 +04:00
ChronosX88
d1a1922ded
Remove signature pack to hex string 2020-11-18 22:14:56 +04:00
Bach Adylbekov
1164f7968b
Update README.md 2020-11-15 18:39:10 +03:00
Bach Adylbekov
90538c5511
Update README.md 2020-11-15 18:36:48 +03:00
ChronosX88
15190a5b8a
Rewrite consensus part 2020-11-15 17:46:58 +04:00
bahadylbekov
78e4ec34a6 fix: aggregator contract 2020-11-15 13:16:38 +03:00
ChronosX88
b04ba982a9
Fix pubsub issues 2020-11-15 14:11:07 +04:00
Bach Adylbekov
b8de9f2328
Update README.md 2020-11-15 11:49:18 +03:00
Bach Adylbekov
60cf780a62
Update README.md 2020-11-15 11:48:14 +03: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
54ac2c6c8d Merge branch 'master' of https://github.com/Secured-Finance/p2p-oracle-node 2020-11-14 14:25:18 +03:00
bahadylbekov
3e68466665 fix: changed aggregator contract logic, dioneStaking contract, filecoin client 2020-11-14 14:25:14 +03:00
ChronosX88
90e38e73a8
Add some docs of task validation process in consensus 2020-11-14 14:33:10 +04:00
ChronosX88
ffa03747d8
Update .gitignore (ignore *.abi) 2020-11-14 14:00:40 +04:00
ChronosX88
302e4dc1f4
Add declaring result channel in SubscribeOnOracleEvents of ethclient 2020-11-14 14:00:19 +04:00
ChronosX88
5a730b9493
Add setting up beacon, wallet, miner subsystem in node's setupNode 2020-11-14 04:32:50 +04:00
ChronosX88
e8102dba70
Fix task round/beacon system - remove task round and use latest drand round when creating task 2020-11-14 04:03:47 +04:00
ChronosX88
89f3bcda90
Slightly refactor Beacon system - rename strange names in this subsystem to fit the context 2020-11-13 21:50:06 +04:00
bahadylbekov
1ea482c379 add: updateStake when miner starts to mine new task 2020-11-13 18:51:23 +03:00
bahadylbekov
d99443d9f0 fix: solana subscription jsonParsed mode, program data scheme, update miner stake in MinerBase 2020-11-13 18:36:01 +03:00
bahadylbekov
2551affae0 add: solana rpc, solana program subscription, miner beacon entries usage, fixed DioneStaking smart contract 2020-11-13 17:04:10 +03:00
ChronosX88
4435868b42
[Smart Contracts] Refactor minerStake() function in DioneStaking - remove address argument and use msg.sender 2020-11-12 18:20:27 +04: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
ChronosX88
d700b1e472
Add neccessary dependencies to go.mod (it is auto-added by IDE) 2020-11-04 21:05:43 +04:00
bahadylbekov
54e69e0528 docs: task, PoS, task documentation and task structure changes 2020-10-31 07:38:51 +03:00
bahadylbekov
239e54b0dd add: staking store db integration, task mining execution 2020-10-31 06:48:15 +03:00
bahadylbekov
9219e483a1 add: integrate DioneStaking contract into ethereum client and node store 2020-10-30 08:23:08 +03:00
bahadylbekov
9b8c4eb012 add: dione token, dione staking contract, timelock contract, fix wallet and consensus leader 2020-10-30 06:41:19 +03:00
bahadylbekov
b3f22f151d add: leader election proofs, beacon chain randomness, miner wallet and base miner structure 2020-10-28 18:35:56 +01:00
bahadylbekov
5d17d90c28 add: Drand network integration with random beacon 2020-10-23 16:35:30 +03:00
Bach Adylbekov
c49acb189f
Update README.md
Updated consensus description
2020-10-23 10:24:46 +03:00
ChronosX88
3331300b49
Cleanup and optimize code in node_test 2020-10-22 18:37:52 +04:00
ChronosX88
97a4e7a7ad
Add saving consensus result and make dropping commit messages which related to finished consensus 2020-10-22 18:37:31 +04:00
ChronosX88
d717318e71
Change from floodsub to gossipsub pubsub algorithm in pubsub route 2020-10-22 18:36:15 +04:00
ChronosX88
ed675a6b75
Add specifying consensusID when starting test consensus 2020-10-22 02:05:12 +04:00
ChronosX88
d47925db4b
Change DHT implementation to dual DHT 2020-10-22 02:04:31 +04:00
bahadylbekov
1f059b7fcd fix: changed Makefile build execution and Docker container 2020-10-22 00:30:08 +03:00
ChronosX88
2b8a44f071
Fix consensus state when received valid commit message 2020-10-22 01:05:46 +04:00
ChronosX88
a7e09d2643
Update .gitignore 2020-10-22 00:57:07 +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
ChronosX88
9fa99ab8ef
Rename main go file and remove unnecessary node/config.go 2020-10-21 18:15:38 +04:00