zero
|
fbe13ed480
DAO::propose(): goodbye nullifiers, hello SMT
|
2 жил өмнө |
draoi
|
cb821b651e
chore: move excessively verbose debug statements to trace
|
2 жил өмнө |
skoupidi
|
34dd60a9b7
blockchain/block_store: unified all trees into a single store structure
|
2 жил өмнө |
skoupidi
|
ea93623ff8
blockchain/contract_store: unified wasm and states trees into a single store structure
|
2 жил өмнө |
skoupidi
|
70aeb839f5
blockchain/tx_store: unified main tree with the pending tree into single store structure
|
2 жил өмнө |
draoi
|
52e6ea0530
net: implement greylist downgrade and goldlist upgrade
|
2 жил өмнө |
draoi
|
1cd330b798
net: create RefineSession
|
2 жил өмнө |
draoi
|
c794507458
store: fix logic error in is_connection_to_self()
|
2 жил өмнө |
draoi
|
1f1bfd3dce
net: flatten move_hosts() so unregister call happens outside function
|
2 жил өмнө |
draoi
|
11c65a7705
store: cleanup move_host() to reduce code reuse
|
2 жил өмнө |
draoi
|
69c6530a5d
net: move downgrade to greylist into remove_sub_on_stop()
|
2 жил өмнө |
skoupidi
|
7d4151c230
sdk: fn get_tx(hash) added
|
2 жил өмнө |
skoupidi
|
0475a8e2d3
runtime/import/util: corrected some log targets
|
2 жил өмнө |
skoupidi
|
254af116f4
blockchain/*: minore code look cleanup
|
2 жил өмнө |
zero
|
9878fff12d
runtime::{merkle, smt}: change value for roots_db from (blk_height:3, tx_idx:2, call_idx:2) to (tx_hash:32, call_idx:2)
|
2 жил өмнө |
zero
|
0967744635
runtime: add tx_hash to runtime params
|
2 жил өмнө |
zero
|
5c9e3bd4a1
tx: change tx.hash() -> Result<blake3::Hash> to tx.hash() -> TransactionHash, by calling .unwrap() on blake3 hasher. This should be safe (see code comment in tx/mod.rs:188 inside fn hash() )
|
2 жил өмнө |
skoupidi
|
f9a58ca5ad
runtime/import/util: minor optimizations retrieving block info stuff
|
2 жил өмнө |
zero
|
4f2f660d61
money/integration: add missing import for `darkfi_sdk::blockchain::expected_reward`
|
2 жил өмнө |
zero
|
affcde18d8
book/arch/dao: change (block_height, tx_idx) to simply tx_hash since mempool txs won't have this data.
|
2 жил өмнө |
zero
|
51d7f2996a
dao::propose(): when a proposal is made, we snapshot the current coins root (old) AND nullifiers root (newly added)
|
2 жил өмнө |
zero
|
2919a595f1
runtime/merkle & smt: implements DB_roots format documented in the book arch/dao page. We store all merkle roots together with information about exactly when that root occurred. To store when the root occurred, we use an absolute location of (block_height, tx_idx, call_idx). Right now tx_idx and call_idx are hardcoded to 0 since the env doesn't yet have access to this info.
|
2 жил өмнө |
zero
|
bfcd383f3b
doc: on disk states, use (block_height, tx_index) tuple instead of tx_hash since it's 1. more compact 2. the info we actually need
|
2 жил өмнө |
zero
|
f92fc9b096
sdk: add missing "0x" prefix to unit test strings
|
2 жил өмнө |
draoi
|
6504ceceb7
net: fix bug in outbound session that was restricting slot connections
|
2 жил өмнө |
zero
|
37e642922b
doc: add section specifying DB formats for sets
|
2 жил өмнө |
zero
|
ef71a31ffe
sdk: fix broken unit test
|
2 жил өмнө |
draoi
|
1c5586cf6e
store: fix bug in filter_addrs() that was causing peers with the same ports as us to get dropped
|
2 жил өмнө |
zero
|
031aac7f65
fee/swap: migrate nullifiers to SMT to match money::transfer()
|
2 жил өмнө |
zero
|
45f0e1ab5e
bench: add sled benchmark
|
2 жил өмнө |