pyquarkchain
pyquarkchain copied to clipboard
Python implementation of QuarkChain
Not sure it is caused the rocksdb recovery, but the cluster hits inconsistent state after power cycle (1 out 3). We may need to add a feature to remove the...
Basically, add a run_cluster_from_snapshot.sh to do - If qkc-data folder exists, ask whether to replace existing qkc-data; and - Download the snapshot and unzip the snapshot to qkc-data; and -...
The draft code for stake trie --- I start from a random function that takes the previous block hash as the random seed and output an index I, which is...
recently CI failed many times testing cluster because of port already used, which can be very annoying.
https://github.com/QuarkChain/pyquarkchain/blob/d470e13a26c64875652b3b1665eb58895baeb4ab/quarkchain/cluster/shard_state.py#L1777 The current estimation will estimate based on the historical gas price of the same token id, which may be empty or small if the token id is not frequently...
as of now our config is still using chain mask list to configure shard-slave mapping: ``` """ Represent a mask of chains, basically matches all the bits from the right...
current grpcio doesn't support asyncio, we should consider migrating to https://github.com/vmagamedov/grpclib
current impl on #785 for getting balance map can be expensive if having many non-zero native token balances (iterating a trie). this operation is needed in JSONRPC since clusters support...