Commit graph

21 commits

Author SHA1 Message Date
DinhLN
71c5f18854 Fixed unit test for block randomize. 2018-10-04 10:21:07 +07:00
DinhLN
ec764859fd Get randomize m2 offer from validators in smart contract.
Fixed get and build randomize for m2 from smart contract.

Fixed get m2 list from smart contract randomize.
2018-10-04 10:15:52 +07:00
DinhLN
206c2cab4d Fixed move foundation wallet address to genesis config. 2018-08-17 11:03:40 +07:00
Nguyen Ba Tam
6bae36b4d5 Making posv as a separate package 2018-08-17 10:36:27 +07:00
DinhLN
682b462b4f Fixed div by zero for calculate reward. 2018-08-10 14:13:46 +07:00
Nguyen Sy Thanh Son
bc28934043 fix test reward 2018-08-08 04:30:46 +00:00
Tuna
d88c445cb5 add license header to missing files 2018-07-27 11:04:24 +07:00
dinhln89
275d76c17a Fixed random hash function for unit test. 2018-07-26 09:42:06 +07:00
dinhln89
8222e62f13 Fixed send tx sign using block hash instead of block number.
Fixed unit test for create tx sign.

 interactive rebase in progress; onto 46780b9a7
2018-07-23 11:05:03 +07:00
dinhln89
7892293856 Add unit test for calculate reward for signers at reward checkpoint. 2018-07-23 11:04:50 +07:00
dinhln89
e7b74b0d9d Fixed calculate reward for holders.
Refine code for rename TomoValidator and add error log get snapshot for more detail.

Fixed error for test coverage.
2018-07-09 15:11:09 +07:00
dinhln89
09b7e1355f Add unit test for calculate reward for holders. 2018-07-06 11:09:03 +07:00
dinhln89
d7ea36bfc3 Add reward calculate rates for masternode, voters and foudation wallet address. 2018-07-06 11:09:03 +07:00
dinhln89
3248badf0c Change IValidator to Tomo Validator name. 2018-07-06 11:08:52 +07:00
dinhln89
cb993ece47 Fixed add reward balance for candidate owner not coinbase address. 2018-07-06 11:07:04 +07:00
dinhln89
3097babcaf Fixed add ipc client global variable inject into ethereum instance. 2018-06-28 15:35:58 +07:00
dinhln89
68697e970b Fixed bug calculate reward and add unit test for it. 2018-06-27 16:52:53 +07:00
dinhln89
ed8de4f2b4 Add unit test for calculate reward for signers at reward checkpoint. 2018-06-27 16:52:53 +07:00
dinhln89
6da42b251d Add unit test for send tx sign for block signer. 2018-06-22 16:33:07 +07:00
dinhln89
150e81c3e8 Refine code using log error when create tx sign. 2018-06-21 14:02:34 +07:00
dinhln89
d502c6b2e4 Fixed move method getBlockSingers by blockNumber to utils of contact package. 2018-06-21 11:24:06 +07:00
Renamed from contracts/tomo.go (Browse further)