-
Description: different accounts can issue same token.
Reason: originally there is a check in Libra::regsister that only association can register token. To support multi-token, we removed the check.
-
panic occurred:
details: panicked at 'called `Option::unwrap()` on a `None` value', cmd/starcoin/src/state/get_account_cmd.rs:43:25
backtrace: 0: 0x104838edd - backtrace::backtrace::trace_…
-
tarcoin% thread '' panicked at 'called `Result::unwrap()` on an `Err` value: BlockTransactionDiscard(VMStatus { major_status: SEQUENCE_NUMBER_TOO_OLD, sub_status: None, message: None }, HashValue(c9de…
-
https://github.com/starcoinorg/starcoin/runs/567389125
---- protocol::generic_proto::tests::reconnect_after_disconnect stdout ----
thread 'protocol::generic_proto::tests::reconnect_after_disconnec…
-
2020-04-19T23:04:46.143428+08:00 INFO starcoin_chain::chain::chain/src/chain.rs::425 - Apply block BlockHeader { parent_hash: HashValue(ccef6f810be00d979e9f9c0efc661cb354772e7703cd599a940e5036920e4717…
-
1. 支持 enable & disable miner config, 以及 global option.
2. 删除配置文件中的 pacemaker_strategy 和 consensus_strategy, 这两个配置应该根据 chain net 静态决定, 而不是配置决定.
-
- [x] Remove VMConfig
- [x] Remove MockTransactionExecutor
- [x] Remove TransactionExecutor Generic Parameter
- [x] Clear Consensus Api
- [x] Remove Consensus Header Generic Parameter.
- [x]…
-
1. NetworkAsyncService 应该是一个 trait,并提供一个 Mock 的实现。
2. 依赖 NetworkAsyncService 的 module 不需要依赖 NetworkAsyncService 的具体实现,可以通过 Mock 来测试。
-
RPCClient 实现优雅关闭以及自动重连接。
当 node 关闭时, 正在通过 console 连接的 cli 会 panic :
starcoin% 2020-04-07T19:25:38.824683+08:00 WARN jsonrpc_client_transports::transports::ipc::/Users/jolestar/.cargo/registry/sr…
-
Total difficulty 保存到 blockinfo 中,以及在 consensus 校验 difficulty 的时候使用。