Commit Graph

20 Commits

Author SHA1 Message Date
aggstam
9712efdfb1 validator/consensus/pid: sigmas caclulation foundation 2023-07-07 16:43:48 +03:00
aggstam
0d00179abd darkfid2: further extend tests foundation | repo: fmt 2023-07-03 16:50:44 +03:00
aggstam
a3d04e0b46 bin/darkfid2: set foundation for implementing new darkfid 2023-07-03 14:35:56 +03:00
aggstam
bca71304f9 validator: full block validation added 2023-07-01 18:54:33 +03:00
aggstam
b122e4e19e blockchain: minor pointers cleanup
We don't want to introduce &BlockchainOverlayPtr in runtime, because we will end up with lifetime hells, and copying is cheap
2023-06-30 15:06:54 +03:00
aggstam
c77ed67df1 validator: decoupled verification functions so we can chain them using same overlay 2023-06-28 20:52:29 +03:00
aggstam
800adf21d9 blockchain/contract_store: added missing functions so transaction verification now operates purelly over an overlay 2023-06-28 16:04:01 +03:00
aggstam
feabf5a67a blockchain: rewrite completed
Attention: this commit breaks darkfid/faucetd network functionalities, so nodes can't sync or participate in the protocol. Wait for their rewrite(TM)
2023-06-28 14:42:14 +03:00
aggstam
f37e05e0ec validator/blockchain: added rest overlays needed for validations 2023-06-27 19:23:45 +03:00
aggstam
44be02f528 validator/blockchain/contract_store: unused import removed 2023-06-27 16:18:00 +03:00
aggstam
9617331dde validator/blockchain/contract_store: reverted ContractStateStore::remove() since drop_tree() doesn't work in an atomic transaction 2023-06-27 12:20:28 +02:00
aggstam
92b9b339f4 validatro/blockchain/contract_store: make ContractStateStore::remove atomic 2023-06-27 12:38:49 +03:00
aggstam
7a2f07502c WIP: validator: blockchain rewrite foundation added 2023-06-26 22:02:25 +03:00
aggstam
ec97e969c8 sdk: renamed SlotCheckpoint to Slot 2023-06-24 18:18:08 +03:00
aggstam
7deaab24e1 src: moved SlotCheckpoint to sdk so it can be used by contracts 2023-06-24 15:59:45 +03:00
aggstam
0afaf50d65 contract/test-harness: integrate new validator 2023-06-23 16:12:14 +03:00
aggstam
5677bb5966 src/validator/verify_txs(): verifying slot added 2023-06-23 14:28:00 +03:00
aggstam
6ffa0974d5 src/validator: added verify_txs() and receive_slot_checkpoint()
sled-overlay was also updated to v0.0.5
2023-06-23 14:07:33 +03:00
aggstam
a980612ce8 src/validator: get TimeKeeper from upstream 2023-06-23 13:09:48 +03:00
aggstam
dd3d6a15e7 src/validator: set foundation for validator rewrite 2023-06-23 12:49:09 +03:00