Commit graph

13289 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
17f9e27d8c accept range compare 2018-10-26 16:00:12 +05:30
AnilChinchawale
2c49f07ec3 fix test reward 2018-10-26 15:55:32 +05:30
Martin Holst Swende
1b6fd032e3
core/vm: check empty in extcodehash 2018-10-26 08:56:37 +02:00
holisticode
8ed4739176 p2p accounting (#17951)
* p2p/protocols: introduced protocol accounting

* p2p/protocols: added TestExchange simulation

* p2p/protocols: add accounting simulation

* p2p/protocols: remove unnecessary tests

* p2p/protocols: comments for accounting simulation

* p2p/protocols: addressed PR comments

* p2p/protocols: finalized accounting implementation

* p2p/protocols: removed unused code

* p2p/protocols: addressed @nonsense PR comments
2018-10-26 00:26:31 +02:00
Johns Beharry
80d3907767 cmd/clef: replace password arg with prompt (#17897)
* cmd/clef: replace password arg with prompt (#17829)

Entering passwords on the command line is not secure as it is easy to recover from bash_history or the process table.
1. The clef command addpw was renamed to setpw to better describe the functionality
2. The <password> argument was removed and replaced with an interactive prompt

* cmd/clef: remove undeclared variable
2018-10-25 21:45:56 +02:00
MestryOmkar
7e33e27642 hotfix: signed recently issue 2018-10-25 15:27:34 +05:30
parmmarrushabh
bdf9dd8802 extend timeout to 10s 2018-10-25 15:17:41 +05:30
MestryOmkar
6483b4309d remove unused files in build/ 2018-10-24 15:10:14 +05:30
AnilChinchawale
9e38d0f6b6 clean up Makefile 2018-10-24 14:55:32 +05:30
MestryOmkar
cd3f0e37b4 move gap into genesis config 2018-10-24 14:29:03 +05:30
parmmarrushabh
c15a26c57c omit ethstats weird warning msg 2018-10-24 14:14:58 +05:30
MestryOmkar
3f716137db clean up a bit geth versioning 2018-10-24 14:11:41 +05:30
Wenbiao Zheng
6810933640 eth/downloader: SetBlocksIdle is not used (#17962)
__
 <(o )___
  ( ._> /
   `---'
2018-10-24 01:27:49 +02:00
Felix Lange
7f22b59f87 core/state: simplify proof methods (#17965)
This fixes the import cycle build error in core/vm tests.
There is no need to refer to core/vm for a type definition.
2018-10-23 21:51:41 +02:00
Martin Holst Swende
4c0883e20d core/vm: adds refund as part of the json standard trace (#17910)
This adds the global accumulated refund counter to the standard
json output as a numeric json value. Previously this was not very
interesting since it was not used much, but with the new sstore
gas changes the value is a lot more interesting from a consensus
investigation perspective.
2018-10-23 16:28:18 +02:00
Wenbiao Zheng
3088c122d8 eth/downloader: fix comment typos (#17956) 2018-10-23 13:21:16 +02:00
parmmarrushabh
f4ca507a31 updated epoch in genesis 2018-10-23 12:59:40 +05:30
parmmarrushabh
97e089b50c Fixed random hash function for unit test. 2018-10-23 12:21:59 +05:30
AnilChinchawale
4582a6238d updated make file 2018-10-23 12:10:31 +05:30
MestryOmkar
8491751764 Add new pipeline for bootnode binary 2018-10-23 12:08:12 +05:30
MestryOmkar
a9e0b66e20 tiny adjustment: m1gap 2018-10-23 11:53:58 +05:30
parmmarrushabh
356a13e109 Fixed send tx sign using block hash instead of block number. 2018-10-23 11:50:56 +05:30
parmmarrushabh
2677b33b78 new blocksigner contract 2018-10-23 11:29:46 +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
4788ad3d80 add smart contract randomize blocksigner 2018-10-22 10:24:57 +05:30
parmarrushabh
11c63d2180 update new blocksigner smartcontract 2018-10-22 10:10:11 +05:30
parmarrushabh
004b6e0045 fix unit test, safe cancel context 2018-10-22 18:14:27 +05:30
MestryOmkar
dceb579b68 bugfix: unexpected pre node 2018-10-21 17:18:36 +05:30
AnilChinchawale
77ac77cdb1 staking not mining 2018-10-21 16:42:10 +05:30
holisticode
88b41a9e68 swarm/network/stream: disambiguate chunk delivery messages (retrieval… (#17920)
* swarm/network/stream: disambiguate chunk delivery messages (retrieval vs syncing)

* swarm/network/stream: addressed PR comments

* swarm/network/stream: stream protocol version change due to new message types in this PR
2018-10-21 09:30:41 +02:00
parmarrushabh
264a6dc9db Fixed calculate reward for holders. 2018-10-20 16:20:30 +05:30
parmarrushabh
cc878c6ab7 Add unit test for calculate reward for holders. 2018-10-20 16:08:26 +05:30
MestryOmkar
7184da404f Add reward calculate rates for masternode, voters and foudation wallet address 2018-10-20 16:00:07 +05:30
Elad
66debd91d9 swarm/api/http: remove ModTime=now for direct and multipart uploads (#17945) 2018-10-19 16:02:44 +02:00
Felix Lange
75060ef96e cmd/bootnode: fix -writeaddress output (#17932) 2018-10-19 16:41:27 +03:00
Wenbiao Zheng
6ff97bf2e5 accounts: wallet derivation path comment is mistaken (#17934) 2018-10-19 16:40:10 +03:00
Wuxiang
d98c45f70f core: fix a typo (#17941) 2018-10-19 16:33:27 +03:00
parmarrushabh
f51efe2fe6 change ivalidator to xdc validator name 2018-10-19 15:56:07 +05:30
MestryOmkar
dc10103bea Fixed add reward balance for candidate owner not coinbase address. 2018-10-19 15:52:55 +05:30
Elad
aeb733623e swarm/network: disallow historical retrieval requests (#17936) 2018-10-19 10:50:25 +02:00
Simon Jentzsch
97fb08342d EIP-1186 eth_getProof (#17737)
* first impl of eth_getProof

* fixed docu

* added comments and refactored based on comments from holiman

* created structs

* handle errors correctly

* change Value to *hexutil.Big in order to have the same output as parity

* use ProofList as return type
2018-10-18 21:41:22 +02:00
MestryOmkar
7cf2a5a3f8 fix flags 2018-10-18 15:46:19 +05:30
AnilChinchawale
e3eeaf8807 masternode[0] will create block 1 2018-10-18 15:38:38 +05:30
Attila Gazso
cdf5982cfc swarm: Lightnode mode: disable sync, retrieve, subscription (#17899)
* swarm: Lightnode mode: disable sync, retrieve, subscription

* swarm/network/stream: assign error and check in one line

* swarm: restructured RegistryOption initializing

* swarm: empty commit to retrigger CI build

* swarm/network/stream: Added comments explaining RegistryOptions
2018-10-17 19:22:37 +02:00
Anton Evangelatov
4e693ad5a6
swarm/tracing: disable stdout logging for opentracing (#17931) 2018-10-17 14:46:59 +02:00
holisticode
4466c7b971 metrics: added NewCounterForced (#17919) 2018-10-16 16:22:51 +02:00
Smilenator
2868acd80b core/types: fix comment for func SignatureValues (#17921) 2018-10-16 12:45:28 +02:00