libplanet
libplanet copied to clipboard
Blockchain in C#/.NET for on-chain, decentralized gaming
We need to remove [Sonar Analyzer](https://github.com/SonarSource/sonar-dotnet) suppressions. - [x] S927: Rename parameter 'A' to 'B' to match the interface declaration. - [x] S1066: Merge this if statement with the enclosing...
For example, the following code shouldn't be succeeded or make any updates on the store, but throw any exception instead: ```csharp IStore store = ...; Guid chainId = ...; Address...
Currently, `IBlockChain.GetNextBlockDifficulty()` takes a `BlockChain` object that is not fully instantiated when creating `BlockChain` from scratch, i.e. empty. Since API specification of `BlockChain` cannot be reliable while under instantiation, this...
With a recent series of PR's addressing #1722, dependency on [Planetarium/NetMQ]'s custom API's have been removed. Perhaps it might be better to switch back to [ZeroMQ/NetMQ]? Simply changing the package...
Since fragmented states were introduced: - - - - - - `TrieStateStore.PruneStates()` method has not worked well. Note that there's even a comment addressing this: There are two problems: -...
As an `ITransport` `interface`, call to each of its method with `timeout` specified should be expected fail after the given amount of time period. However, due to its internal implementation,...
When trying to find branchpoint attached chain, stack flow occurs. [chain-fork-stack-overflow.zip](https://github.com/planetarium/libplanet/files/7800892/chain-fork-stack-overflow.zip) Environment: Windows10 x64
There seems to be some evidence that `RoutingTable`, or rather, `KademliaProtocol` to be more precise, isn't working as intended. For one, querying `peerChainState` seem to return abnormally high number of...
Current property name and its description are misleading. Current implementation is a copy of https://eips.ethereum.org/EIPS/eip-2, but on closer inspection, the formula provided does not actually *target* `BlockInterval`.