#tetcoin #framework #blockchain #crypto

tc-client-db

Client backend that uses RocksDB database as storage

Show the crate…

1 unstable release

0.8.0 Apr 4, 2021
0.0.0 Mar 4, 2021

#125 in #tetcoin


Used in 24 crates (7 directly)

GPL-3.0-or-later…

2MB
40K SLoC

Client backend that is backed by a database.

Canonicality vs. Finality

Finality indicates that a block will not be reverted, according to the consensus algorithm, while canonicality indicates that the block may be reverted, but we will be unable to do so, having discarded heavy state that will allow a chain reorganization.

Finality implies canonicality but not vice-versa.

License: GPL-3.0-or-later WITH Classpath-exception-2.0


lib.rs:

Client backend that is backed by a database.

Canonicality vs. Finality

Finality indicates that a block will not be reverted, according to the consensus algorithm, while canonicality indicates that the block may be reverted, but we will be unable to do so, having discarded heavy state that will allow a chain reorganization.

Finality implies canonicality but not vice-versa.

Dependencies

~30–49MB
~840K SLoC