Commit graph

9650 commits

Author SHA1 Message Date
etienne-napoleone
cb6cb53bfc
Fix wrong conditions 2018-07-26 11:12:20 +07:00
etienne-napoleone
99920424c9
Fix typo in travis.yml
Tag condition is plural
2018-07-26 11:12:19 +07:00
etienne-napoleone
95c68ffa99
Refactor docker push script 2018-07-26 11:12:19 +07:00
etienne-napoleone
07a4c33033
Docker tagging options + Docker release tagging 2018-07-26 11:12:19 +07:00
dinhln89
08ec57c99c
Merge pull request #89 from dinhln89/master
BlockSigners Smart Contract - Move from BlockNumber to BlockHash
2018-07-26 10:54:00 +07:00
Tuna
f8074122af
Merge pull request #91 from tomochain/feature/bootnodeimage
Add new pipeline for bootnode binary
2018-07-26 10:25:23 +07:00
dinhln89
275d76c17a Fixed random hash function for unit test. 2018-07-26 09:42:06 +07:00
Tuna
5b5409066b tiny adjustment: m1gap 2018-07-25 15:45:16 +07:00
etienne-napoleone
2ab1821635
Removed from pipeline
No need to auto build it as it's not changing
2018-07-25 15:38:40 +07:00
etienne-napoleone
0d6c8898eb
Add new pipeline for bootnode binary 2018-07-23 14:57:59 +07:00
Tuna
b28c4af0f7
Merge pull request #90 from ngtuna/master
tiny adjustment: m1gap
2018-07-23 14:01:59 +07:00
Tuna
65e0555d5b tiny adjustment: m1gap 2018-07-23 14:00:29 +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
Nguyen Sy Thanh Son
ce56b4c5f9 new blocksigner contract
add foreachstorage into simulate

sign tx debug
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
Tuna
abf4f09b6b
Merge pull request #80 from ngtuna/m1-down
masternode should also count to his turn in case some of his friends are down
2018-07-19 17:43:07 +07:00
Tuna
f65014512d node waits to his turn until there is a new block comes in 2018-07-19 17:15:21 +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
eac412a106
Merge pull request #82 from ngtuna/minor-bugfix
bugfix: unexpected pre node
2018-07-12 17:59:18 +07:00
Tuna
d1138b9b10 bugfix: unexpected pre node 2018-07-12 17:00:06 +07:00
Tuna
d4b7305060
Merge pull request #74 from benjyz/word-staking
staking not mining
2018-07-10 10:14:22 +07:00
Tuna
02a1bd2b53
Merge pull request #68 from dinhln89/reward
Reward to candidate's owner and coin holders
2018-07-09 16:57:59 +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
Tuna
fb46af9f02
Merge pull request #75 from ngtuna/block-one
masternode[0] will create block 1
2018-07-06 10:23:59 +07:00
benjyz
2bd14237ee fix flags 2018-07-05 12:48:16 +02:00
Tuna
3a139d6c78 masternode[0] will create block 1 2018-07-05 17:12:22 +07:00
benjyz
f394faf509 staking not mining 2018-07-05 11:44:40 +02:00
Tuna
95a09286e0
Merge pull request #72 from ngtuna/tiny-logging-improvement
get rid of annoying msg if the node is still importing blocks only
2018-07-04 08:14:38 +07:00
Tuna
c5fba13c43 get rid of annoying msg if the node is still importing blocks only 2018-07-03 17:40:06 +07:00
Tuna
d6c6163b8d
Merge pull request #50 from ngtuna/voting-smc
Get masternodes candidates from smart contract
2018-07-03 16:51:52 +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
b098681495
Merge pull request #69 from gitter-badger/gitter-badge-4
Add a Gitter chat badge to README.md
2018-07-03 09:39:20 +07:00
Nguyen Sy Thanh Son
e5e6ce72d3
Merge branch 'master' into gitter-badge-4 2018-07-03 09:14:03 +07:00
The Gitter Badger
76137b070a Add Gitter badge 2018-06-30 06:53:43 +00:00
Tuna
e37b644f29 temporarily bypass 0x00 returned from smc 2018-06-29 17:14:55 +07:00
Tuna
33f47f1b61
Merge pull request #67 from thanhson1085/master
add randomize contract
2018-06-29 17:08:36 +07:00
Tuna
54a0bad209 get masternodes set from latest checkpoint block header instead of from snapshot 2018-06-29 15:50:03 +07:00
Nguyen Sy Thanh Son
c08cc09b1c add randomize contract 2018-06-29 08:41:33 +00:00
Tuna
6502fe9642 skip changes if no candidates found 2018-06-29 14:32:56 +07:00
Tuna
b62cdd9a03 tiny lint thing 2018-06-29 14:32:56 +07:00
Tuna
da26c4884b minor log cleaning up 2018-06-29 14:32:56 +07:00
Tuna
ab9f40aeed update new set of masternodes at end of each epoch (distance = m1Gap) 2018-06-29 14:31:33 +07:00
Tuna
77966cccc1
Merge pull request #65 from etienne-napoleone/travis-timeout
Update .travis.yml
2018-06-28 18:03:52 +07:00
Tuna
c4147006cc
Merge pull request #62 from dinhln89/reward
Add unit test for calculate reward for signers at reward checkpoint.
2018-06-28 17:59:47 +07:00
dinhln89
3097babcaf Fixed add ipc client global variable inject into ethereum instance. 2018-06-28 15:35:58 +07:00
Tuna
fbbdb05b51
Merge pull request #64 from thanhson1085/master
update smart contract, hard-code first 3-masternodes
2018-06-28 00:42:16 +07:00