Skip to content

Commit

Permalink
feat: delay full block verification to fork switch (#158)
Browse files Browse the repository at this point in the history
* Delay full block verification when trying to switch forks.
* Remove AVL and index TXO in memory.
  • Loading branch information
kilb authored and doitian committed Jan 30, 2019
1 parent bf2b7c3 commit 07d6a69
Show file tree
Hide file tree
Showing 32 changed files with 702 additions and 1,545 deletions.
15 changes: 1 addition & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ build-info = { path = "util/build-info" }

[workspace]
members = [
"util/avl",
"util/logger",
"util/hash",
"util/merkle-tree",
Expand Down
2 changes: 1 addition & 1 deletion chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ ckb-verification = { path = "../verification" }
faketime = "0.2.0"
numext-fixed-hash = { version = "0.1", features = ["support_rand", "support_heapsize", "support_serde"] }
numext-fixed-uint = { version = "0.1", features = ["support_rand", "support_heapsize", "support_serde"] }
fnv = "1.0"
crossbeam-channel = "0.3"


[dev-dependencies]
env_logger = "0.6"
tempfile = "3.0"
Expand Down
Loading

0 comments on commit 07d6a69

Please sign in to comment.