Nguyen Ba Tam
10b2ec598f
split list blocks insert to chain by index (epoch - gas)
2018-08-24 15:00:51 +07:00
DinhLN
98eecdca1b
Fixed default for foundation wallet address at puppeth.
2018-08-17 16:28:29 +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
b3f943898e
Fixed reward overflow uint64.
2018-08-16 16:43:30 +07:00
dinhln89
727a7323cd
Add signers and finality to block status rpc api.
2018-08-08 14:06:22 +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
Tuna
f65014512d
node waits to his turn until there is a new block comes in
2018-07-19 17:15:21 +07:00
Tuna
d4b7305060
Merge pull request #74 from benjyz/word-staking
...
staking not mining
2018-07-10 10:14:22 +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
benjyz
f394faf509
staking not mining
2018-07-05 11:44:40 +02:00
Tuna
54a0bad209
get masternodes set from latest checkpoint block header instead of from snapshot
2018-06-29 15:50:03 +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
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
0f75eb97b6
Fixed bug too many open IPC connect at same time.
2018-06-26 17:56:44 +07:00
Tuna
728feadaad
Merge pull request #48 from dinhln89/master
...
Fixed move method getBlockSingers by blockNumber to utils of contact …
2018-06-25 15:33:38 +07:00
dinhln89
6da42b251d
Add unit test for send tx sign for block signer.
2018-06-22 16:33:07 +07:00
dinhln89
d502c6b2e4
Fixed move method getBlockSingers by blockNumber to utils of contact package.
2018-06-21 11:24:06 +07:00
Tuna
20237ddf69
Merge pull request #46 from dinhln89/master
...
Fixed send tx sign to smart contract for block signer.
2018-06-21 10:30:56 +07:00
dinhln89
124f587abf
Refine code and fixed send tx sign for block signer.
2018-06-20 18:29:22 +07:00
dinhln89
361f00167f
Fixed send tx sign to smart contract for block signer.
2018-06-20 14:35:00 +07:00
Tuna
6a3b1a808e
Merge pull request #45 from dinhln89/master
...
Hot fixed for bug can't deploy smart contract to master node.
2018-06-19 15:01:19 +07:00
dinhln89
2dfb27bcda
Fixed calculate reward for whole block checkpoint reward number.
2018-06-19 09:10:45 +07:00
benjyz
de05b2d926
staking instead of mining
2018-06-18 12:15:20 +07:00
dinhln89
309ad919cc
Fixed add more error defail information for reward feature.
2018-06-18 11:13:43 +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
0411e227bb
Refine code for test coverage.
2018-06-13 18:00:50 +07:00
dinhln89
847bcffb87
Fixed only send tx sign for validators.
2018-06-13 16:05:32 +07:00
dinhln89
524653abf6
Add feature send tx sign (validator block) from coinbase to smart contract signer after insert block into chain.
2018-06-12 17:54:31 +07:00
Tuna
ce3e641085
use cross-package channel listenning to checkpoint
2018-05-22 17:45:09 +07:00
Tuna
b11297c0b9
cover cases: node up & down, checkpoint or not
2018-05-21 14:32:07 +07:00
Tuna
0a3aeb7102
check mining permission every epoch block + 1
2018-05-18 16:28:56 +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
Péter Szilágyi
55599ee95d
core, trie: intermediate mempool between trie and database ( #15857 )
...
This commit reduces database I/O by not writing every state trie to disk.
2018-02-05 17:40:32 +01:00
Felföldi Zsolt
c3f238dd53
les: limit LES peer count and improve peer configuration logic ( #16010 )
...
* les: limit number of LES connections
* eth, cmd/utils: light vs max peer configuration logic
2018-02-05 15:41:53 +02:00
Péter Szilágyi
46e5583993
cmd/utils, eth: init etherbase from within eth ( #15528 )
2017-12-09 23:42:23 +01:00
gary rong
f14047dae5
cmd, consensus, eth: split ethash related config to it own ( #15520 )
...
* cmd, consensus, eth: split ethash related config to it own
* eth, consensus: minor polish
* eth, consenus, console: compress pow testing config field to single one
* consensus, eth: document pow mode
2017-11-24 16:10:27 +02:00
Felföldi Zsolt
ca376ead88
les, light: LES/2 protocol version ( #14970 )
...
This PR implements the new LES protocol version extensions:
* new and more efficient Merkle proofs reply format (when replying to
a multiple Merkle proofs request, we just send a single set of trie
nodes containing all necessary nodes)
* BBT (BloomBitsTrie) works similarly to the existing CHT and contains
the bloombits search data to speed up log searches
* GetTxStatusMsg returns the inclusion position or the
pending/queued/unknown state of a transaction referenced by hash
* an optional signature of new block data (number/hash/td) can be
included in AnnounceMsg to provide an option for "very light
clients" (mobile/embedded devices) to skip expensive Ethash check
and accept multiple signatures of somewhat trusted servers (still a
lot better than trusting a single server completely and retrieving
everything through RPC). The new client mode is not implemented in
this PR, just the protocol extension.
2017-10-24 15:19:09 +02:00
Lio李欧
5df0b240ae
eth: fix typo ( #15252 )
2017-10-06 12:55:18 +02:00
Péter Szilágyi
f585f9eee8
core, eth: clean up bloom filtering, add some tests
2017-09-06 11:14:19 +03:00
Zsolt Felfoldi
4ea4d2dc34
core, eth: add bloombit indexer, filter based on it
2017-09-06 11:13:13 +03:00
Péter Szilágyi
b0ca1b67ce
eth: use maxpeers from p2p layer instead of extra config
2017-09-05 19:18:28 +03:00
Miya Chen
bf1e263128
core, light: send chain events using event.Feed ( #14865 )
2017-08-18 12:58:36 +02:00