Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: global state lock, async leveldb, etc.
high level changes: * create `GlobalStateLock` and use it for all state locking. * remove other locks (except those in storage layer, still a todo) * add tokio `AtomicRw` and `AtomicMutex` async lock types. * trace (log) all lock events (TryAcquire, Acquire, Release) * add `RustyLevelDbAsync` async-friendly DB wrapper * simplify `LightState`, now just a type alias for Block * add enum `BlockChainState` to distinguish Archival vs Light mode * use twenty_first storage iterators where appropriate * improve some doc-comments, `cargo doc` runs without warnings * general cleanups and refactors * log timestamp of each mined block, converted to localtime
- Loading branch information