| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Since a qualified node might fail stopped, we need to remove them from
qualified nodes to maintain network integrity. We do this by inspect the
previous round to see if there are dead nodes. A dead node is a notary
set node that does not propose any block in the previous round. We
disqualify them by fining them so their staked value is 1 wei below
minStake. This make them unqualified for being notary set in the follow
on rounds.
|
|
|
|
| |
Skip tx which is under price and add test case.
Use the key which has balance in test case to run test more correctly.
|
| |
|
| |
|
|
|
| |
Also remove app_test.go because of the refactor bojie@ is working on.
|
|
|
|
|
| |
* vendor: sync to latest core
* fix for single chain
|
|
|
|
|
|
|
|
|
|
| |
* core/vm: update abi
* core/vm: add MinGasPrice to gov
* params: Add MinGasPrice to Config
* dex: SuggestPrice from Governance
* test: add minGasPrice to genesis.json
* core: check underpriced tx
* dex: verify with gas price
|
|
|
|
|
|
| |
* change default sync_core.sh
* vendor: sync to latest core
* core: Remove K, Phi and NumChain
|
|
|
|
| |
Instead of having BP to send a tx to register the round height, just
modify the state when finalizing block.
|
|
|
|
|
|
|
|
|
|
| |
Using only state root and receipt root as witness data can not protect
other fields in block header, ex: bloom, difficulty, gas limit, gas
used...
So that everyone can manipulate these fields to create as many valid blocks
at the same height as he want. Although this will not effect the state,
one can spam us when syncing.
Using block hash as witness data can solve this.
|
| |
|
| |
|
|
|
|
| |
(#118)
|
| |
|
| |
|
|
|
|
| |
Remove duplicate declaration of WitnessData and remove the TxHash field
in witness data since it does not need to be witnessed.
|
| |
|
|
|