Nguyen Ba Tam
|
ad4b0f223c
|
verify penalty info in header check point
|
2018-10-12 14:08:15 +07:00 |
|
Nguyen Ba Tam
|
2bf1906342
|
fix error when find penalties in 4 epoch ago
|
2018-10-12 11:06:58 +07:00 |
|
Nguyen Ba Tam
|
63b869dba2
|
update log & check case a master node in,out continuity
|
2018-10-12 11:06:58 +07:00 |
|
DinhLN
|
d1df0c5786
|
Add penalty feature for prevent signer without sign in epoc make slow down chain.
Fixed duplicate nonce value for randomize and sign txs
Fixed prevent signers penaltied return in 4 epocs sequent.
|
2018-10-12 11:06:58 +07:00 |
|
Tuna
|
0f8092389c
|
Revert "adding double validation layer"
|
2018-10-12 09:49:37 +07:00 |
|
Tuna
|
6259641448
|
init double validation layer
|
2018-10-09 18:15:55 +07:00 |
|
DinhLN
|
76b647cbaf
|
Fixed move process update validators header when prepare block checkpoint.
|
2018-10-08 15:44:22 +07:00 |
|
Tuna
|
0ccac591f9
|
undo delay
|
2018-09-27 17:16:24 +07:00 |
|
Tuna
|
30ae355fd1
|
adjust signed recently condition
|
2018-09-27 10:36:40 +07:00 |
|
Nguyen Ba Tam
|
b431d627c8
|
remove delay when mine new block
|
2018-09-18 14:42:34 +07:00 |
|
Tuna
|
8d6549d98c
|
adding sort to masternode list
|
2018-09-10 12:12:51 +07:00 |
|
Tam Nguyen
|
8818e652d2
|
Delete snapshot_test.go
fix cycle import
|
2018-08-24 16:50:53 +07:00 |
|
Tam Nguyen
|
e52c4bbcd5
|
Delete snapshot_test.go
fix cycle import
|
2018-08-24 16:50:34 +07:00 |
|
Nguyen Ba Tam
|
10b2ec598f
|
split list blocks insert to chain by index (epoch - gas)
|
2018-08-24 15:00:51 +07:00 |
|
Tuna
|
01f2f84188
|
bypass header check for signer data loaded from snapshot
|
2018-08-20 10:17:58 +07:00 |
|
DinhLN
|
206c2cab4d
|
Fixed move foundation wallet address to genesis config.
|
2018-08-17 11:03:40 +07:00 |
|
Nguyen Ba Tam
|
a554c5b968
|
remove 2 commands posv.propose & posv.discard
|
2018-08-17 10:37:04 +07:00 |
|
Nguyen Ba Tam
|
b8f6655d37
|
remove call api from rpc to consensus posv and add again with clique
|
2018-08-17 10:36:49 +07:00 |
|
Nguyen Ba Tam
|
57b4580c1a
|
add again code directory clique from commit c3fbc24012
|
2018-08-17 10:36:27 +07:00 |
|
Nguyen Ba Tam
|
6bae36b4d5
|
Making posv as a separate package
|
2018-08-17 10:36:27 +07:00 |
|
Tuna
|
c3f49b7158
|
hotfix - bypass signer check at CP header
|
2018-08-16 17:13:32 +07:00 |
|
Tuna
|
75d729efde
|
gofmt, bypass signed recently for epoch block
|
2018-08-16 11:26:37 +07:00 |
|
Tuna
|
555a9bc328
|
by pass difficulty check in some scenes
|
2018-08-16 10:58:21 +07:00 |
|
Tuna
|
0cba36a6ba
|
directly set mns to snapshot
|
2018-08-15 18:02:48 +07:00 |
|
Tuna
|
cafab05d13
|
Merge pull request #116 from ngtuna/signed-recently-fix
hotfix: signed recently issue
|
2018-08-10 15:11:41 +07:00 |
|
dinhln89
|
727a7323cd
|
Add signers and finality to block status rpc api.
|
2018-08-08 14:06:22 +07:00 |
|
Tuna
|
04d8966857
|
hotfix: signed recently issue
fix #115
|
2018-08-07 18:20:52 +07:00 |
|
Tuna
|
5a771ed6f0
|
node should also count to his turn in case some nodes are down
|
2018-07-17 11:04:52 +07:00 |
|
Tuna
|
d1138b9b10
|
bugfix: unexpected pre node
|
2018-07-12 17:00:06 +07:00 |
|
Tuna
|
3a139d6c78
|
masternode[0] will create block 1
|
2018-07-05 17:12:22 +07:00 |
|
Tuna
|
a72d7782ae
|
in case a masternode resigns, let him continue until end of the current epoch
|
2018-07-03 16:15:56 +07:00 |
|
Tuna
|
54a0bad209
|
get masternodes set from latest checkpoint block header instead of from snapshot
|
2018-06-29 15:50:03 +07:00 |
|
Tuna
|
ab9f40aeed
|
update new set of masternodes at end of each epoch (distance = m1Gap)
|
2018-06-29 14:31:33 +07:00 |
|
dinhln89
|
f5604918e8
|
Refine comments for feature add reward to validators and signers block.
|
2018-06-18 10:45:38 +07:00 |
|
dinhln89
|
d1aa9bc746
|
Add reward for signers and validators for reward checkpoint.
|
2018-06-15 15:56:07 +07:00 |
|
dinhln89
|
847bcffb87
|
Fixed only send tx sign for validators.
|
2018-06-13 16:05:32 +07:00 |
|
dinhln89
|
7b74ed6bf5
|
Fixed minor warning of go lint and rename checkpoint config parameter.
|
2018-06-06 18:16:47 +07:00 |
|
dinhln89
|
0d59fa3408
|
Add feature calculate reward for signers at checkpoint block.
|
2018-06-06 15:36:03 +07:00 |
|
dinhln89
|
fdcd97950d
|
Fixed parse signer address using ecrecover and add reward for signer not using coinbase value.
|
2018-06-04 16:17:38 +07:00 |
|
Tuna
|
d91e00e170
|
reuse Clique voting strategy for now, leave header.Coinbase empty
|
2018-06-01 10:05:56 +07:00 |
|
Tuna
|
789e03f167
|
block 1 - all masternodes race to create
|
2018-06-01 10:02:06 +07:00 |
|
Tuna
|
5494d3a7d0
|
masternode takes turn (circle) to propose block
|
2018-06-01 09:59:46 +07:00 |
|
Tuna
|
0ae49c74fa
|
fix import cycle
|
2018-05-31 16:34:17 +07:00 |
|
Tuna
|
ce3e641085
|
use cross-package channel listenning to checkpoint
|
2018-05-22 17:45:09 +07:00 |
|
Tuna
|
034f773b6b
|
allow non-zero coinbase in block header
|
2018-05-16 23:25:28 +07:00 |
|
Tuna
|
0953671747
|
fix bug: only cancel mining mode, keep node alive
|
2018-05-16 11:01:45 +07:00 |
|
Tuna
|
f1cf546def
|
correct chain, header params
|
2018-05-15 10:54:52 +07:00 |
|
Tuna
|
304f116b0d
|
add validation in front of mining
|
2018-05-14 18:12:05 +07:00 |
|
Tuna
|
a8fb4ed8f3
|
add block reward to clique config
|
2018-04-11 14:38:59 +07:00 |
|
Tuna
|
16009f940c
|
temporary set block reward
|
2018-04-11 14:38:33 +07:00 |
|