#tetcoin #framework #blockchain #crypto #back-end

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

#145 in #tetcoin

Download history 6/week @ 2023-12-18 1/week @ 2023-12-25 31/week @ 2024-01-08 3/week @ 2024-01-15 3/week @ 2024-01-22 17/week @ 2024-02-12 23/week @ 2024-02-19 39/week @ 2024-02-26 24/week @ 2024-03-04 20/week @ 2024-03-11 27/week @ 2024-03-18 33/week @ 2024-03-25 61/week @ 2024-04-01

147 downloads per month
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

~29–49MB
~862K SLoC