Commit graph

247 commits

Author SHA1 Message Date
AnilChinchawale
cd9734b34a Fixed issue XDPoS | File updated 2019-01-07 08:32:29 +05:30
AnilChinchawale
1ce4eba0d6 Fixed issue | File updated 2019-01-06 08:32:23 +05:30
parmarrushabh
7833a10c16 remove run evm with signing tracsaction 2018-12-28 12:33:35 +05:30
AnilChinchawale
9fe12cb097 Fixed check penalty using block creator instead of using block signer 2018-12-26 12:15:48 +05:30
AnilChinchawale
0fdf32e271 updated genesis file 2018-12-21 11:24:19 +05:30
AnilChinchawale
b84a8c2fc0 testnet: validate masternode role 2018-12-14 11:20:12 +05:30
parmarrushabh
68dbddadc0 Using gas from flag 2018-12-07 10:56:50 +05:30
AnilChinchawale
4a6e8c7f5d Won't grasp txs at checkpoint 2018-12-07 10:42:40 +05:30
parmarrushabh
95041650e8 reduce number sign transaction 2018-12-04 10:24:07 +05:30
MestryOmkar
590bcb448e resolve conflicts 2018-12-04 10:09:52 +05:30
MestryOmkar
dfbac0dcf2 updated version.go 2018-11-24 16:52:55 +05:30
AnilChinchawale
fc9effa05d updated constants.go 2018-11-24 16:27:52 +05:30
parmarrushabh
ece14048a5 fixed only three MNs making block when --XDC testnet flag enable 2018-11-17 17:10:09 +05:30
parmarrushabh
1596ba2489 Fixed genesis for add team MSW contract. 2018-11-14 18:07:45 +05:30
MestryOmkar
d3fc7da872 Fixed gasprice minimum 2500 for get gasprice api. 2018-11-12 16:09:28 +05:30
parmarrushabh
176b51f1f8 ignore faster with block no validator m2 2018-11-12 15:41:24 +05:30
AnilChinchawale
592259eb73 refactor RemoveItemFromArray 2018-11-12 12:06:38 +05:30
AnilChinchawale
4211d56ad0 Fixed reward inflation and add unit test. 2018-11-12 12:03:22 +05:30
parmarrushabh
7d162336fa Add MultisigWallet to puppeth for build new genesis. 2018-11-12 11:37:26 +05:30
AnilChinchawale
21656d1855 fix error panic in func RemoveItemFromArray 2018-11-09 10:59:55 +05:30
MestryOmkar
7892d7c162 Fixed unit test for new randomize smc. 2018-11-07 11:49:10 +05:30
MestryOmkar
7bca77170d fix gofmt 2018-11-07 11:18:06 +05:30
parmarrushabh
eb9742ae27 verify penalty info in header check point 2018-11-07 11:15:32 +05:30
AnilChinchawale
deb79f4a23 push Randomization implementation 2018-11-06 17:27:13 +05:30
parmmarrushabh
9765dea721 add option genesis generator for POSV 2018-10-27 17:52:28 +05:30
parmarrushabh
264a6dc9db Fixed calculate reward for holders. 2018-10-20 16:20:30 +05:30
MestryOmkar
dc10103bea Fixed add reward balance for candidate owner not coinbase address. 2018-10-19 15:52:55 +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
3f1c3839c9 Add feature send tx sign (validator block) from coinbase to smart con… 2018-07-22 16:39:59 +05:30
Jeffery Robert Walsh
a25561dfb4
common/compiler: remove "--add-std" arg, deprecated in solidity 0.4.21 2018-03-08 18:05:56 -08:00
Martin Holst Swende
44d40ffce1 core, vm, common: define constantinople fork + shift (#16045)
* core, vm, common: define constantinople fork, start implementation of shift instructions

* vm: more testcases

* vm: add tests for intpool erroneous intpool handling

* core, vm, common: fix constantinople review concerns

* vm: add string<->op definitions for new opcodes
2018-02-23 12:32:57 +02:00
Felix Lange
a5c0bbb4f4
all: update license information (#16089) 2018-02-14 13:49:11 +01: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
Ricardo Domingos
56152b31ac common/fdlimit: Move fdlimit files to separate package (#15850)
* common/fdlimit: Move fdlimit files to separate package

When go-ethereum is used as a library the calling program need to set
the FD limit.

This commit extract fdlimit files to a separate package so it can be
used outside of go-ethereum.

* common/fdlimit: Remove FdLimit from functions signature

* common/fdlimit: Rename fdlimit functions
2018-01-11 22:55:21 +02:00
Furkan KAMACI
b8caba9709 various: remove redundant parentheses (#15793) 2018-01-03 14:14:47 +02:00
Steven Roose
afb8154eab common: improve IsHexAddress and add tests (#15551)
Also unexport isHex, hasHexPrefix because IsHexAddress is the only caller.

Fixes #15550
2017-12-04 19:34:15 +01:00
Péter Szilágyi
b33a5294ea
common: fix hex utils to handle 1 byte address conversions 2017-11-29 02:25:32 +02:00
ferhat elmas
86f6568f66 build: enable unconvert linter (#15456)
* build: enable unconvert linter

 - fixes #15453
 - update code base for failing cases

* cmd/puppeth: replace syscall.Stdin with os.Stdin.Fd() for unconvert linter
2017-11-10 19:06:45 +02:00
Martin Holst Swende
fc87bc5f52 common: improve documentation of Hash.SetBytes (#15062)
Fixes #15004
2017-09-07 23:32:59 +02:00
rjl493456442
28aea46ac0
core: implement Metropolis EIP 658, receipt status byte 2017-08-22 18:35:17 +03:00
Egon Elbre
392151e251 common: fix megacheck warnings 2017-08-07 13:16:56 +03:00
Jim McDonald
ad8d519eb5 common: tests for EIP55-compliant Address.Hex() 2017-07-16 13:28:22 +01:00
Jim McDonald
9e80d9bee1 common: Address.Hex() outputs EIP55-compliant string 2017-07-16 13:26:16 +01:00
Felix Lange
4a741df757 common/hexutil: wrap errors in json.UnmarshalTypeError
This adds type and struct field context to error messages.
Instead of "hex string of odd length" users will now see "json: cannot
unmarshal hex string of odd length into Go struct field SendTxArgs.from
of type common.Address".
2017-06-27 13:15:12 +02:00
Martin Holst Swende
ac9865791a core/vm, common/math: Add doc about Byte, fix format 2017-06-08 23:16:05 +02:00
Martin Holst Swende
1496b3aff6 common/math, core/vm: Un-expose bigEndianByteAt, use correct terms for endianness 2017-06-06 18:38:38 +02:00
Martin Holst Swende
3285a0fda3 core/vm, common/math: Add fast getByte for bigints, improve opByte 2017-06-05 08:44:11 +02:00
Jeffrey Wilcke
e1e87d8b1a common: fixed byte padding functions
Byte padding function should return the given slice if the length is
smaller or equal rather than *only* smaller than.

This fix improves almost all EVM push operations.
2017-05-23 11:24:07 +02:00
Péter Szilágyi
82defe5c56
common/compress: internalize encoders, add length wrappers 2017-05-08 11:38:25 +03:00
Péter Szilágyi
cf19586cfb
common/bitutil: fix decompression corner cases; fuzz, test & bench 2017-05-06 19:06:17 +03:00