aggstam
|
ff581982be
|
validator/consensus: finalization check added
|
2023-08-10 19:58:17 +03:00 |
|
aggstam
|
80ffd5afd6
|
validator/consensus: proposal generation implemented
|
2023-08-10 19:32:06 +03:00 |
|
aggstam
|
67d5ed7d28
|
validator: current slot generation added
|
2023-08-04 18:42:05 +03:00 |
|
aggstam
|
490436b11e
|
validator: check that eta is carried as slots progress
|
2023-08-03 19:11:18 +03:00 |
|
aggstam
|
df5f2a7568
|
blockchain/Slot: renamed previous.eta to last_eta
|
2023-08-03 18:13:01 +03:00 |
|
aggstam
|
e71264d376
|
darkfid2: moved p2p protos from validator to darkfid using wrapper structs for messages
|
2023-08-02 18:37:43 +03:00 |
|
aggstam
|
41c77f0706
|
validator:consensus: minor functions rename
|
2023-08-01 19:51:29 +03:00 |
|
aggstam
|
cc25514ed2
|
validator:consensus: proposal verification added
|
2023-08-01 19:45:50 +03:00 |
|
aggstam
|
77e5b65a80
|
validator: pending txs fork handling added
|
2023-08-01 14:36:43 +03:00 |
|
aggstam
|
9cd9d13456
|
chore: comment typos
|
2023-07-27 19:09:20 +03:00 |
|
aggstam
|
2a35e0af83
|
blockchain: overlay pointers handling
|
2023-07-27 18:42:41 +03:00 |
|
aggstam
|
4a73c46ebc
|
darkfid2/validator: consensus p2p foundation laid out
|
2023-07-25 18:30:34 +03:00 |
|
aggstam
|
51910ba346
|
chore: updated sled-overlay package
|
2023-07-25 17:23:24 +03:00 |
|
aggstam
|
03ddfdfb3c
|
darkfid2: node blocks sync implemented
|
2023-07-24 14:36:35 +03:00 |
|
aggstam
|
a1466e1520
|
darkfid2/tests: use P2P to pass blocks between nodes
|
2023-07-22 16:23:15 +03:00 |
|
aggstam
|
0cc61ccaa9
|
validator/proto: BlockInfo protocol added
|
2023-07-21 19:20:50 +03:00 |
|
aggstam
|
56130e1699
|
validator: improved log targets
|
2023-07-21 14:24:42 +03:00 |
|
aggstam
|
d9eed23013
|
blockchain: simplyfied Slot structure
|
2023-07-21 14:05:40 +03:00 |
|
aggstam
|
7c6a2b912c
|
chore: minor cleanup
|
2023-07-20 03:11:12 +03:00 |
|
aggstam
|
73500a25b4
|
contracts/tests: made consensus coins deterministic, major cleanup in rest
|
2023-07-20 02:44:19 +03:00 |
|
aggstam
|
147022a903
|
darkfid2-validator: ProtocolTx created
|
2023-07-19 16:44:39 +03:00 |
|
aggstam
|
9f81e693ed
|
darkfid2/rpc: basic tx methods added
|
2023-07-18 19:00:52 +03:00 |
|
aggstam
|
361e53af0c
|
darkfid2/tests: use genesis stake and mint in genesis block
|
2023-07-12 22:03:29 +03:00 |
|
aggstam
|
dce1fb929d
|
darkfid2: calculate genesis txs total and use that for genesis block validation
|
2023-07-12 20:23:31 +03:00 |
|
aggstam
|
5c5a6a2aca
|
validator/verification: proper genesis block validation
|
2023-07-12 15:30:41 +03:00 |
|
aggstam
|
17415a3d21
|
validator: use new pid
|
2023-07-07 21:05:46 +03:00 |
|
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 |
|