Commit graph

12961 commits

Author SHA1 Message Date
MestryOmkar
ece1dccd93 Fixed test problem when change config MaxBlockFetch in downloader. 2018-10-29 13:21:37 +05:30
AnilChinchwale
62118bea51 update genesis.Config.Clique.Epoch 2018-10-29 13:17:40 +05:30
MestryOmkar
c8c71dc500 remove 2 commands XDPoS.propose & XDPoS.discard 2018-10-29 12:30:02 +05:30
parmarrushabh
b2593aa0c3 update default 1 epoch = 900 blocks and gap = 450 2018-10-29 12:24:58 +05:30
AnilChinchwale
e5ca34b737 remove call api from rpc to consensus posv and add again with clique 2018-10-28 12:20:43 +05:30
parmarrushabh
6fb2bbbde9 add params.AllCliqueProtocolChanges for consensus/clique/snapshottest.go 2018-10-28 12:14:57 +05:30
AnilChinchwale
ae97e8e202 add again code directory clique from commit 2018-10-28 12:10:56 +05:30
MestryOmkar
bb23d619e9 fix text 2. Posv -> 2. Clique 2018-10-28 12:02:27 +05:30
parmarrushabh
ce89b6b92d making XDPoS as a separate package 2018-10-28 11:58:50 +05:30
parmarrushabh
b32dca7f64 statically set chuck size to 900 2018-10-28 10:56:35 +05:30
AnilChinchwale
af02783e8e Fixed reward overflow uint64. 2018-10-28 10:53:21 +05:30
MestryOmkar
1dba188d1d by pass difficulty check in some scenes 2018-10-28 10:45:17 +05:30
AnilChinchwale
7a7abd4f75 directly set mns to snapshot 2018-10-28 10:40:26 +05:30
Ferenc Szabo
54f650a3be swarm: clean up unused private types and functions (#17989)
* swarm: clean up unused private types and functions

Those that were identified by code inspection tool.

* swarm/storage: move/add Proximity GoDoc from deleted private function

The mentioned proximity() private function was deleted in:
1ca8fc1e6f
2018-10-27 16:18:42 +02:00
MestryOmkar
deafcdc6ca fixed unit test 2018-10-27 10:28:59 +05:30
parmarrushabh
b172dd6d45 change some log , return error to user 2018-10-27 10:23:56 +05:30
parmarrushabh
e610298b57 Reject all transactions to blocksigners with rpc ipc 2018-10-27 10:20:08 +05:30
AnilChinchawale
73b55f9815 Fixed div by zero for calculate reward. 2018-10-27 10:08:45 +05:30
MestryOmkar
9a6c1c5382 Fixed prevent tx zero gas price add to tx pool. 2018-10-27 18:03:27 +05:30
parmmarrushabh
9765dea721 add option genesis generator for POSV 2018-10-27 17:52:28 +05:30
AnilChinchawale
5ec2a20aa4 Fixed finality using percent instead of boolean value for block staus… 2018-10-26 17:09:30 +05:30
MestryOmkar
e712c2a377 resolve file conflict 2018-10-26 17:02:28 +05:30
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