Tuna
|
47af8deec1
|
make gofmt
|
2019-01-02 17:52:56 +07:00 |
|
Nguyen Ba Tam
|
0eecfd8fad
|
fix error read reward
|
2019-01-02 15:42:44 +07:00 |
|
Nguyen Ba Tam
|
17cec00875
|
create new api get reward
|
2018-12-28 10:37:07 +07:00 |
|
Tuna
|
e21e4c71f9
|
correct log msg
|
2018-12-24 22:44:28 +07:00 |
|
DinhLN
|
e780bde12f
|
Fixed comment.
|
2018-12-24 17:41:27 +07:00 |
|
DinhLN
|
13db4ec070
|
Fixed only three MNs making block when --tomo-testnet flag enable.
|
2018-12-24 10:47:31 +07:00 |
|
DinhLN
|
4b1fa05415
|
Merge branch 'master' of https://github.com/tomochain/tomochain into half-mn
|
2018-12-21 16:30:54 +07:00 |
|
etienne-napoleone
|
7623d5660a
|
update logging
Downgrade some errors to warn
Replace a fmt by info
close #269
close #349
|
2018-12-18 17:08:37 +07:00 |
|
DinhLN
|
dfcf2df19d
|
Fixed.
|
2018-12-11 16:20:50 +07:00 |
|
Tuna
|
bc039e09f5
|
small c.HookValidator refactor, some more clean-up
|
2018-12-10 17:28:44 +07:00 |
|
Tuna
|
e94daa8240
|
remove signer term, use masternode for consistency
|
2018-12-10 17:28:44 +07:00 |
|
Tuna
|
bd5fcbdcde
|
tiny make up
|
2018-12-10 17:15:32 +07:00 |
|
Nguyen Ba Tam
|
5475ef4faa
|
verify block difficulty
|
2018-12-10 16:17:29 +07:00 |
|
Nguyen Ba Tam
|
b2929f2b50
|
refactor name flag committxwhennotmining -> announce-txs
|
2018-12-10 13:45:46 +07:00 |
|
DinhLN
|
a064131488
|
Fixed only half MNs can be mining block.
|
2018-12-10 13:37:40 +07:00 |
|
Nguyen Ba Tam
|
6af064ec32
|
set block difficulty belong to creator turn
|
2018-12-10 09:49:06 +07:00 |
|
Nguyen Ba Tam
|
33ddb251ef
|
Parallel process block from fetcher
|
2018-12-10 09:40:15 +07:00 |
|
Nguyen Ba Tam
|
a0d36b2fe4
|
fix err concurrent map read and write with signers
|
2018-12-10 09:39:44 +07:00 |
|
Tuna
|
bf11a67367
|
sort by big.Int
|
2018-11-21 15:22:53 +07:00 |
|
Nguyen Ba Tam
|
5c5da227df
|
fix err header in cache
|
2018-11-21 10:50:59 +07:00 |
|
Tam Nguyen
|
f95c606469
|
Merge pull request #290 from nguyenbatam/change_difficulty_block_in_posv
change difficulty block in POSV consensus
|
2018-11-21 10:01:14 +07:00 |
|
Tam Nguyen
|
61b58412b0
|
Merge pull request #292 from nguyenbatam/reduce_duplicate_verify_header_when_insert_block_from_fetcher
reduce duplicate verify Header when insert block from fetcher
|
2018-11-21 10:01:01 +07:00 |
|
Nguyen Ba Tam
|
2ef491ea4e
|
change difficulty block in posv
|
2018-11-21 09:19:52 +07:00 |
|
Nguyen Ba Tam
|
08cda1ba0c
|
ignore faster with block no validator m2
|
2018-11-20 16:47:52 +07:00 |
|
Nguyen Ba Tam
|
afcc1cc5de
|
reduce duplicate verify Header when insert block from fetcher
|
2018-11-20 16:40:12 +07:00 |
|
Nguyen Ba Tam
|
36692df383
|
fix error double validation : m2 not validate body before verify block
|
2018-11-14 09:14:28 +07:00 |
|
Tuna
|
9478c634f2
|
tiny fix
|
2018-11-10 09:59:51 +07:00 |
|
Nguyen Ba Tam
|
d7a7385fa9
|
update logic find validator
|
2018-11-08 09:44:46 +07:00 |
|
Nguyen Ba Tam
|
6cee868dc5
|
remove useless code
|
2018-11-05 17:11:54 +07:00 |
|
Nguyen Ba Tam
|
3fa13073fd
|
fix error double validation
|
2018-10-25 16:10:42 +07:00 |
|
Tuna
|
2bda1ebffd
|
DV is enabled from epoch 2nd
|
2018-10-25 10:29:59 +07:00 |
|
DinhLN
|
4b26ed4dbb
|
Fixed unit test for new m2 block header.
|
2018-10-25 01:27:23 +07:00 |
|
DinhLN
|
5360513293
|
Add new block header validator for store m2 data.
|
2018-10-24 18:15:16 +07:00 |
|
Tuna
|
7d0e91fd0d
|
move DV to posv package
|
2018-10-24 17:14:58 +07:00 |
|
Tuna
|
959dbec5a6
|
Revert "Revert "adding double validation layer""
|
2018-10-23 11:37:57 +07:00 |
|
Tuna
|
6b43905a23
|
minor makeup
|
2018-10-23 11:09:22 +07:00 |
|
Nguyen Ba Tam
|
a7c149d76b
|
verify validators info at checkpoint block
|
2018-10-23 11:09:22 +07:00 |
|
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 |
|