Commit graph

985 commits

Author SHA1 Message Date
parmmarrushabh
dccf2ca3e9 Add signers and finality to block status rpc api. 2018-10-27 16:28:04 +05:30
parmmarrushabh
356a13e109 Fixed send tx sign using block hash instead of block number. 2018-10-23 11:50:56 +05:30
AnilChinchawale
6a76879b85 Add unit test for calculate reward for signers at reward checkpoint. 2018-10-23 11:15:11 +05:30
MestryOmkar
ec421b98b1 masternode should also count to his turn in case some of his friends are down 2018-10-22 10:53:15 +05:30
MestryOmkar
7adecc32d3 node waits to his turn until there is a new block comes in 2018-10-22 10:37:12 +05:30
AnilChinchawale
77ac77cdb1 staking not mining 2018-10-21 16:42:10 +05:30
parmarrushabh
264a6dc9db Fixed calculate reward for holders. 2018-10-20 16:20:30 +05:30
MestryOmkar
f814908442 get masternodes set from latest checkpoint block header instead of fr… … 2018-10-10 14:15:15 +05:30
MestryOmkar
a7deff5891 minor log cleaning up 2018-10-02 12:23:02 +05:30
parmarrushabh
9f5cba7dc7 update new set of masternodes at end of each epoch (distance = m1Gap) 2018-09-30 12:00:33 +05:30
parmarrushabh
3d11656c45 Fixed add ipc client global variable inject into ethereum instance. 2018-09-27 11:49:51 +05:30
parmarrushabh
76153eea4a Fixed bug calculate reward and add unit test for it. 2018-09-22 10:12:05 +05:30
parmarrushabh
530f8e3656 Add unit test for calculate reward for signers at reward checkpoint. 2018-09-18 10:01:00 +05:30
MestryOmkar
3584bcfa5f Fixed bug too many open IPC connect at same time. 2018-09-15 18:29:07 +05:30
parmarrushabh
00df3d6cc3 Add unit test for send tx sign for block signer. 2018-09-06 17:42:02 +05:30
AnilChinchawale
4e3cb79ff2 Refine code using log error when create tx sign. 2018-09-02 17:32:33 +05:30
parmarrushabh
9551a39a97 Fixed move method getBlockSingers by blockNumber to utils of contact … 2018-08-31 16:37:52 +05:30
MestryOmkar
f0b6c70a8e Refine code and fixed send tx sign for block signer. 2018-08-28 16:07:53 +05:30
parmarrushabh
8b71594e11 Fixed send tx sign to smart contract for block signer. 2018-08-19 15:29:11 +05:30
parmarrushabh
78787916b0 Fixed calculate reward for whole block checkpoint reward number. 2018-08-13 14:45:03 +05:30
MestryOmkar
eb8922c652 staking instead of mining 2018-08-12 14:41:12 +05:30
parmarrushabh
bbd132c1a3 Refine comments for feature add reward to validators and signers block. 2018-08-09 14:24:16 +05:30
MestryOmkar
831626de23 Add reward for signers and validators for reward checkpoint. 2018-08-04 14:11:24 +05:30
parmarrushabh
f5316ee18b Refine code for test coverage. 2018-07-29 10:15:42 +05:30
parmarrushabh
dd9a1bbbf0 Fixed go lint. 2018-07-27 17:02:20 +05:30
parmarrushabh
a88d49b1a8 Fixed only send tx sign for validators. 2018-07-24 16:54:17 +05:30
parmarrushabh
3f1c3839c9 Add feature send tx sign (validator block) from coinbase to smart con… 2018-07-22 16:39:59 +05:30
AnilChinchawale
d7f57b92e3 updated backend.go 2018-07-18 17:16:14 +05:30
AnilChinchawale
6e4c9d9387 added DYNAMIC-VALIDATOR 2018-06-24 14:29:24 +05:30
AnilChinchawale
2cde3e9fe8 added MINING PERMISSION EVERY EPOCH BLOCK +1 2018-06-22 14:14:13 +05:30
AnilChinchawale
2a089900f5 added MINER-VALIDATOR 2018-06-18 10:46:57 +05:30
AnilChinchawale
0cb82cf94f added CHAIN, HEADER PARAMS 2018-06-14 10:28:02 +05:30
gary rong
77da203547 eth: update higest block we know during the sync if a higher was found (#16283)
* eth: update higest block we know during the sync if a higher was found

* eth: avoid useless sync in fast sync
2018-03-09 11:51:30 +02:00
Kyuntae Ethan Kim
f6bef558aa eth: fixed typo (#16274) 2018-03-07 11:15:54 +02:00
Péter Szilágyi
ca64a122d3 eth/downloader: save and load trie sync progress (#16224) 2018-03-03 00:52:39 +01:00
Andrey Petrov
2e9c8fd4fb eth, les: allow exceeding maxPeers for trusted peers (#16189)
Fixes #3326, #14472
2018-02-27 12:52:59 +02:00
Anton Evangelatov
ae9f97221a metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910)
* go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter.

* vendor: change nonsense/go-metrics to ethersphere/go-metrics

* go-metrics: add tests. move ResettingTimer logic from reporter to type.

* all, metrics: pull in metrics package in go-ethereum

* metrics/test: make sure metrics are enabled for tests

* metrics: apply gosimple rules

* metrics/exp, internal/debug: init expvar endpoint when starting pprof server

* internal/debug: tiny comment formatting fix
2018-02-23 11:56:08 +02:00
Péter Szilágyi
5cf1d35470
eth, les, light: filter on logs only, derive receipts on demand 2018-02-22 19:12:43 +02:00
Felix Lange
a5c0bbb4f4
all: update license information (#16089) 2018-02-14 13:49:11 +01:00
Péter Szilágyi
57fd2da0fe
eth: only disable fast sync after success 2018-02-11 17:25:00 +02:00
Péter Szilágyi
96dad6b6f6
eth/downloader: don't require state for ancestor lookups 2018-02-11 14:43:56 +02:00
Péter Szilágyi
eb07dbb079
eth, light: minor light client startup cleanups 2018-02-08 07:49:23 +02: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
Martin Holst Swende
bc0666fb27 eth/downloader: fix #15858 by checking if downloader dropPeer function is set (#15992) 2018-02-05 15:38:06 +02:00
Péter Szilágyi
566d5c0777
core, eth, les, light: get rid of redundant methods 2018-01-30 18:42:00 +02:00
Péter Szilágyi
1bf508b449
accounts/abi/bind: support event filtering in abigen 2018-01-24 10:54:13 +02:00
Nick Johnson
b06e20bc7c eth/gasprice: set default percentile to 60%, count blocks instead of transactions (#15828)
The first should address a long term issue where we recommend a gas
price that is greater than that required for 50% of transactions in
recent blocks, which can lead to gas price inflation as people take
this figure and add a margin to it, resulting in a positive feedback
loop.
2018-01-10 13:57:36 +01:00
Felix Lange
9d06026c19 all: regenerate codecs with gencodec commit 90983d99de (#15830)
Fixes #15777 because null is now allowed for hexutil.Bytes.
2018-01-08 15:13:22 +02:00
Felix Lange
5c2f1e0014 all: update generated code (#15808)
* core/types, core/vm, eth, tests: regenerate gencodec files

* Makefile: update devtools target

Install protoc-gen-go and print reminders about npm, solc and protoc.
Also switch to github.com/kevinburke/go-bindata because it's more
maintained.

* contracts/ens: update contracts and regenerate with solidity v0.4.19

The newer upstream version of the FIFSRegistrar contract doesn't set the
resolver anymore. The resolver is now deployed separately.

* contracts/release: regenerate with solidity v0.4.19

* contracts/chequebook: fix fallback and regenerate with solidity v0.4.19

The contract didn't have a fallback function, payments would be rejected
when compiled with newer solidity. References to 'mortal' and 'owned'
use the local file system so we can compile without network access.

* p2p/discv5: regenerate with recent stringer

* cmd/faucet: regenerate

* dashboard: regenerate

* eth/tracers: regenerate

* internal/jsre/deps: regenerate

* dashboard: avoid sed -i because it's not portable

* accounts/usbwallet/internal/trezor: fix go generate warnings
2018-01-08 14:15:57 +02:00