This website requires JavaScript.
041d6b2d2f
Code cleanup
master
ChronosX88
2021-09-02 20:34:41 +0300
4c11425d18
Remove old code
ChronosX88
2021-08-26 00:04:00 +0300
0dbcdbde70
Make Ethereum client as interface
ChronosX88
2021-08-25 22:10:44 +0300
f074007c75
Refactor blockchain database for modularity
ChronosX88
2021-08-25 00:02:37 +0300
b9047797cc
Rename some consensus subsystem components, clean up init code
ChronosX88
2021-08-24 22:41:40 +0300
c1cb7a72f7
Refactor cache subsystem for modularity
ChronosX88
2021-08-24 22:36:42 +0300
656a7f2b29
Add states for submission/dispute to make dispute manager more persistent
ChronosX88
2021-08-24 18:18:38 +0300
6e657cd20c
Add build status badge to README
ChronosX88
2021-08-05 23:25:53 +0300
c4791f84ab
Change name of job in Github Action
ChronosX88
2021-08-05 23:13:58 +0300
5d5dc1878e
Add Github Action for building Dione
ChronosX88
2021-08-05 23:12:50 +0300
d048795140
Add Dockerfile
ChronosX88
2021-08-05 23:12:31 +0300
1d12828313
Merge pull request #16 from Secured-Finance/feat/blockchain
ChronosX88
2021-08-02 20:48:48 +0300
46716ed52d
fix small typo
ChronosX88
2021-08-02 20:40:25 +0300
7e80654c87
Compare by block timestamp if stake is equal in block selection mechanism
ChronosX88
2021-08-02 20:28:44 +0300
65afa056bb
FINALLY fix consensus desync issue!!! WOOHOOOOOOOO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ChronosX88
2021-07-30 02:04:27 +0300
445fbf44f0
Fix infinity loop when syncing mempool
ChronosX88
2021-07-30 01:53:48 +0300
e8b220455e
Fix sync/race issues in consensus, refactor accepted blocks sorting
ChronosX88
2021-07-29 00:48:01 +0300
cd671e6165
Change temporarily pubsub engine to FloodSub
ChronosX88
2021-07-29 00:47:09 +0300
1670a6b287
Add Etherscan plugin for Hardhat
ChronosX88
2021-07-28 21:52:10 +0300
b9c39ac7ba
Fix DioneOracle unit test
ChronosX88
2021-07-28 21:13:43 +0300
7e8e4ccc41
Separate secrets to another file, add some Dione-related tasks to hardhat project
ChronosX88
2021-07-28 21:13:30 +0300
225c84e8a8
Implement creating necessary directories when creating private key file
ChronosX88
2021-07-27 02:03:12 +0300
d179ffcd76
Implement consensus state change watching to fix stage race conditions
ChronosX88
2021-07-27 00:18:16 +0300
430a994a76
Return reward to stake balance instead of node's token balance
ChronosX88
2021-07-22 01:02:42 +0300
6d73e1103d
Merge pull request #15 from Secured-Finance/refactor/fx
ChronosX88
2021-07-22 01:02:36 +0300
5e0c7f02fa
Integrate Uber's Fx DI framework, refactor node init code massively
ChronosX88
2021-07-22 00:56:58 +0300
550d69fb26
Fix approve count for PREPARE state in consensus
ChronosX88
2021-07-20 01:40:49 +0300
cbce24fdce
Ignore block validation for genesis block
ChronosX88
2021-07-20 01:39:14 +0300
ed9fa658ed
Make block hash more random
ChronosX88
2021-07-20 01:38:55 +0300
a6cf757fcf
Implement handler for NewBlock message in SyncManager, refactor block validation architecture
ChronosX88
2021-07-19 23:19:06 +0300
f59aaa6cf2
Fix issue when node creates tx with different hash but with the same content (because of slightly diffeent timestamp)
ChronosX88
2021-07-19 21:41:42 +0300
bb3bf032d5
Update go-libp2p-pex dependency to v1.1.2
ChronosX88
2021-07-15 23:55:06 +0300
13951d5c32
Implement event bus for cross-communication between Dione components, overhaul logging part
ChronosX88
2021-07-15 23:51:22 +0300
d7a1e87939
Make blockchain finally working!
ChronosX88
2021-07-12 02:23:00 +0300
6c18edd471
Update .gitignore
ChronosX88
2021-07-11 03:33:28 +0300
2845a04704
Fix small bugs/mistakes/typos
ChronosX88
2021-07-11 03:32:58 +0300
5aadbab600
Refactor dispute manager to new blockchain architecture
ChronosX88
2021-07-11 03:08:03 +0300
956de703e8
Implement submission for dione task from block transaction
ChronosX88
2021-07-11 01:07:35 +0300
5645d1951b
Fix some typos
ChronosX88
2021-07-11 01:07:04 +0300
2952983c94
Fix some minor mistakes in various places
ChronosX88
2021-06-15 00:45:35 +0300
29c38e80b7
Add missing send to ready channel in consensus state when mining new block
ChronosX88
2021-06-11 14:43:48 +0300
ea9ceaeda9
Implement block validation at PREPREPARE stage
ChronosX88
2021-06-11 14:40:32 +0300
de5d9cf664
Implement making RPC request & creating DioneTask for holding result of oracle request in transaction payload
ChronosX88
2021-06-10 23:32:39 +0300
ac2bf637a8
Simplify validation process of beacon entries
ChronosX88
2021-06-10 23:31:44 +0300
ad45e0c554
Fix validation for PREPARE/COMMIT messages
ChronosX88
2021-06-09 00:39:48 +0300
4e7294e046
Do massive overhaul of consensus part due to new architecture with blockchain, implement chain selection
ChronosX88
2021-06-09 00:30:23 +0300
012d4a68c3
Rename BlockPool to BlockChain
ChronosX88
2021-06-05 00:18:06 +0300
34c88a8d01
Fix LatestBeaconRound in Drand
ChronosX88
2021-06-05 00:14:24 +0300
2eae45ca38
Add watching new DRAND entries and fix drand entry validation
ChronosX88
2021-06-05 00:07:04 +0300
8445baafdb
Implement handling new transactions announced on network in SyncManager
ChronosX88
2021-06-04 00:21:14 +0300
025bb9a6d1
Refactor pubsub package again, make it more flexible
ChronosX88
2021-06-04 00:15:32 +0300
0695d23866
Refactor pubsub package
ChronosX88
2021-06-03 00:19:52 +0300
809c5f2a23
Fix mempool init in SyncManager
ChronosX88
2021-06-02 22:48:56 +0300
2afe85853f
Implement mempool synchronization
ChronosX88
2021-06-02 22:45:55 +0300
c0e69ff1d0
Implement GetAllTxs function in mempool
ChronosX88
2021-05-31 22:24:07 +0300
00b041fbb0
Use gob encoding for struct marshalling in redis cache
ChronosX88
2021-05-27 22:30:52 +0300
3366a71ac1
Change backend for in-memory cache to patrickmn/go-cache
ChronosX88
2021-05-27 22:30:11 +0300
43871c6141
Add validation of tx hash when syncing
ChronosX88
2021-05-27 00:29:37 +0300
b51a5ffe75
Implement sync manager, node p2p network rpc service, initial sync algorithm
ChronosX88
2021-05-27 00:06:46 +0300
1759ecbc8f
Add blockchain config to Config struct
ChronosX88
2021-05-26 23:59:05 +0300
155fe7bc71
Implement fetching block header by height in blockpool
ChronosX88
2021-05-26 23:58:31 +0300
fb84ab8ad6
Add merkle proof of last block hash to BlockHeader, add merkle proof of tx hash to Transaction
ChronosX88
2021-05-26 23:57:54 +0300
dde32e11dc
Implement indexes for blockpool database and auto maintaining of it
ChronosX88
2021-05-25 18:32:06 +0300
6d50f37a12
Implement storing latest block hash in blockpool storage
ChronosX88
2021-05-20 00:53:58 +0300
5e48c0d176
Move blockchain-related code into separate package
ChronosX88
2021-05-19 23:54:36 +0300
3a53295fd2
Update .gitignore
ChronosX88
2021-05-14 23:53:32 +0300
2cd62d0079
Implement basic blockpool
ChronosX88
2021-05-14 23:32:49 +0300
7f85330953
Implement basic mempool
ChronosX88
2021-05-14 23:32:39 +0300
d9a0fa9194
Change type of timestamp in transaction
ChronosX88
2021-05-14 22:42:22 +0300
59aa9f5889
Add support of deadline (TTL) for values in Cache
ChronosX88
2021-05-14 21:21:13 +0300
7e3fca5de5
Refactor cache package to be more general purpose component
ChronosX88
2021-05-13 14:49:38 +0300
0bc8371f84
Implement block and transaction primitives
ChronosX88
2021-05-12 22:34:14 +0300
90d1e6d2ad
Fix unnecessary rebroadcast of received consensus message
ChronosX88
2021-04-30 23:09:55 +0300
ae9c21baaf
Refactor and cleanup consensus code architecture
ChronosX88
2021-04-30 22:55:12 +0300
e0f004ea5d
Cover DioneStaking by 100% with unit tests
ChronosX88
2021-04-28 23:13:22 +0300
8a07edcb06
Add missing asserts, add some events, fix vulnerability with transfering tokens
ChronosX88
2021-04-28 23:12:51 +0300
b11eef4df1
Add one more test case for DioneOracle
ChronosX88
2021-04-27 22:52:37 +0300
e0051ce982
Cover DioneDispute by 100% with unit tests
ChronosX88
2021-04-27 22:11:34 +0300
7c3e726df1
Disallow beginning dispute when beginner isn't Dione miner
ChronosX88
2021-04-27 22:10:13 +0300
0045c96940
Add hardhat-coverage and eth-gas-reporter Hardhat plugins
ChronosX88
2021-04-27 22:09:37 +0300
6a389f1b5d
Add more unit tests for DioneDispute
ChronosX88
2021-04-27 21:24:24 +0300
4c15285e74
Fix some things in DioneOracle unit test
ChronosX88
2021-04-27 21:24:14 +0300
8dbd84e00b
Fix checking request deadline when submitting result in DioneOracle
ChronosX88
2021-04-27 21:23:53 +0300
6a3349a9ee
Disallow voting in dispute for miner against whom dispute has beginned
ChronosX88
2021-04-27 21:22:09 +0300
f8576cffea
[DioneDispute] Change type of sum property in Dispute struct, add missing checks and add minStake check
ChronosX88
2021-04-27 21:10:40 +0300
857c21a232
Add more unit tests for DioneOracle, add enabling/disabling logging for contracts deployment
ChronosX88
2021-04-27 18:52:28 +0300
6e87bbe644
Write basic unit test for DioneOracle smart contract
ChronosX88
2021-04-27 01:03:23 +0300
301de34cc3
Remove delay for DioneDispute unit test
ChronosX88
2021-04-27 01:01:20 +0300
c74ec4db26
Remove callback address/method id from NewOracleRequest event properties
ChronosX88
2021-04-27 01:01:04 +0300
4395f94b68
Update .gitignore
ChronosX88
2021-04-27 00:53:39 +0300
a4af71fb3f
Add error explanations for filecoin-specific checks when it's failed
ChronosX88
2021-04-22 22:42:44 +0300
1633f28a7b
Update lotus dependency
ChronosX88
2021-04-22 22:42:10 +0300
7c347b0963
Fix payload validation when chain checks returned error
ChronosX88
2021-04-22 22:18:28 +0300
2b05af3037
Refactor contract deployment code
ChronosX88
2021-04-22 21:30:51 +0300
ed82d5cd7f
Fix stopping the timer when dispute is successfully finished
ChronosX88
2021-04-21 22:38:23 +0300
708c0559c7
Fix NPE when receiving commit message of unknown consensus
ChronosX88
2021-04-21 22:37:32 +0300
bfce1b715a
Add unit test for DioneDispute contract
ChronosX88
2021-04-21 00:40:47 +0300
0114f53f6d
Fix slashMiner in DioneStaking
ChronosX88
2021-04-21 00:40:27 +0300
4b3aa6df57
Fix unexpected reverts and implement customizable vote window time in DioneDispute contract
ChronosX88
2021-04-21 00:39:47 +0300
b1cfc81cf7
Implement customizing dispute vote window time in dione config
ChronosX88
2021-04-21 00:38:54 +0300