parmarrushabh
15c5f76c39
change EstimateGas from pending block to latest block
2018-11-07 11:27:55 +05:30
AnilChinchwale
f5152bf0cf
Add penalty feature for prevent signer without sign in epoc make slow…
2018-11-07 10:26:28 +05:30
AnilChinchawale
deb79f4a23
push Randomization implementation
2018-11-06 17:27:13 +05:30
parmarrushabh
944494f6e4
Revert Randomization implementation
2018-11-06 16:16:29 +05:30
AnilChinchawale
d81dc08a50
Get randomize m2 offer from validators in smart contract.
2018-11-05 11:12:22 +05:30
parmarrushabh
1857fe3991
remove delay when mine new block
2018-11-03 17:12:18 +05:30
parmarrushabh
ce89b6b92d
making XDPoS as a separate package
2018-10-28 11:58:50 +05:30
AnilChinchwale
7a7abd4f75
directly set mns to snapshot
2018-10-28 10:40:26 +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
5ec2a20aa4
Fixed finality using percent instead of boolean value for block staus…
2018-10-26 17:09:30 +05:30
parmmarrushabh
dccf2ca3e9
Add signers and finality to block status rpc api.
2018-10-27 16:28:04 +05:30
Péter Szilágyi
28ef23f446
internal/ethapi: make resent gas params optional
2018-03-08 12:29:42 +02:00
Péter Szilágyi
b7e57ca1d0
cmd/evm, core/vm, internal/ethapi: don't disable call gas metering
2018-03-05 14:01:13 +02:00
Péter Szilágyi
ba7b384019
internal/ethapi: fix getTransactionReceipt
2018-02-28 12:40:15 +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
Martin Holst Swende
b585f76128
ethapi: prevent creating contract if no data is provided ( #16108 )
...
* ethapi: prevent creating contract if no data is provided
* internal/ethapi: downcase error for no data on contract creation
2018-02-21 16:10:18 +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
Guillaume Ballet
dd7a715d73
internal: fix a typo that caused a lint error on travis ( #15987 )
2018-01-29 15:35:05 +02:00
Martin Holst Swende
722bac84fa
ethapi: add personal.signTransaction ( #15971 )
...
* ethapi: add personal.signTransaction
* ethapi: refactor to minimize duplicate code
* ethapi: make nonce,gas,gasPrice obligatory in signTransaction
2018-01-26 19:32:43 +02:00
Péter Szilágyi
6f69cdd109
all: switch gas limits from big.Int to uint64
2018-01-03 14:45:35 +02:00
Felix Lange
8c33ac10bf
internal/ethapi: support "input" in transaction args ( #15640 )
...
The tx data field is called "input" in returned objects and "data" in
argument objects. Make it so "input" can be used, but bail if both
are set.
2017-12-18 12:50:21 +01:00
rhaps107
e9971d356b
internal/ethapi: don't crash for missing receipts
...
Fixes #15408
Fixes #14432
2017-12-14 13:24:34 +01:00
yoza
bbea4b2b53
internal/ethapi: fix typo in comment ( #15659 )
2017-12-12 18:55:39 +01:00
tsarpaul
c7b0abf86b
Added output to clarify gas calculation in txpool.inspect
2017-11-17 15:07:57 +02:00
Péter Szilágyi
b0190189a3
core/vm, internal/ethapi: tracer no full storage, nicer json output ( #15499 )
...
* core/vm, internal/ethapi: tracer no full storage, nicer json output
* core/vm, internal/ethapi: omit disabled trace fields
2017-11-16 18:53:18 +02:00
gary rong
984c25ac40
accounts, internal: fail if no suitable estimated gas found ( #15477 )
...
* accounts, internal: return an error if no suitable estimated gas found
* accounts, internal: minor polishes on the gas estimator
2017-11-14 18:26:31 +02:00
rjl493456442
94903d572b
internal, accounts, eth: utilize vm failed flag to help gas estimation
2017-10-02 15:26:40 +03:00
Péter Szilágyi
7e9e3a134b
core/types, internal: swap Receipt.Failed to Status
2017-10-02 14:04:22 +03:00
rjl493456442
a31835c8b4
internal/ethapi: add status code to receipt rpc return
2017-10-02 11:42:53 +03:00
slumber1122
2b4a5f2677
internal/ethapi: remove code duplication around tx sending ( #15158 )
2017-09-25 10:38:42 +02:00
Ernesto del Toro
3c8656347f
eth, internal/ethapi: fix spelling of 'Ethereum' ( #15164 )
2017-09-20 11:31:31 +02:00
Péter Szilágyi
da7d57e07c
core: make txpool operate on immutable state
2017-09-05 13:34:41 +03:00
rjl493456442
28aea46ac0
core: implement Metropolis EIP 658, receipt status byte
2017-08-22 18:35:17 +03:00
Péter Szilágyi
5d9ac49c7e
accounts: refactor API for generalized USB wallets
2017-08-09 13:26:07 +03:00
Péter Szilágyi
db568a61e2
accounts, console, internal: support trezor hardware wallet
2017-08-09 11:30:17 +03:00
Egon Elbre
f42bd73ce5
internal: fix megacheck warnings ( #14919 )
2017-08-07 17:14:40 +02:00
Péter Szilágyi
0ff35e170d
core: remove redundant storage of transactions and receipts ( #14801 )
...
* core: remove redundant storage of transactions and receipts
* core, eth, internal: new transaction schema usage polishes
* eth: implement upgrade mechanism for db deduplication
* core, eth: drop old sequential key db upgrader
* eth: close last iterator on successful db upgrage
* core: prefix the lookup entries to make their purpose clearer
2017-07-14 19:39:53 +03:00
Felix Lange
9e5f03b6c4
core/state: access trie through Database interface, track errors ( #14589 )
...
With this commit, core/state's access to the underlying key/value database is
mediated through an interface. Database errors are tracked in StateDB and
returned by CommitTo or the new Error method.
Motivation for this change: We can remove the light client's duplicated copy of
core/state. The light client now supports node iteration, so tracing and storage
enumeration can work with the light client (not implemented in this commit).
2017-06-27 15:57:06 +02:00
Martin Holst Swende
1a0eb903f1
internal/ethapi: initialize account mutex in lock properly
2017-06-01 17:16:12 +03:00
Péter Szilágyi
41bdf49eed
Merge pull request #14516 from holiman/noncefixes
...
internal/ethapi: add mutex around signing + nonce assignment
2017-05-30 18:15:57 +03:00
Martin Holst Swende
ea11f7dd7a
internal/ethapi: add mutex around signing + nonce assignment
...
This prevents concurrent assignment of identical nonces when automatic
assignment is used.
2017-05-30 16:43:38 +02:00
Péter Szilágyi
673c92db6b
internal/ethapi: fix tx nonces in pool inspect/content
2017-05-29 11:17:31 +03:00
Péter Szilágyi
aa73420207
accounts/keystore, crypto: enforce 256 bit keys on import
2017-05-23 14:58:03 +03:00
Martin Holst Swende
83721a95ce
internal/ethapi: lock when auto-filling transaction nonce ( #14483 )
...
More context in the bug This solves the problems of transactions being
submitted simultaneously, and getting the same nonce, due to the gap (due to
signing) between nonce-issuance and nonce-update. With this PR, a lock will
need to be acquired whenever a nonce is used, and released when the transaction
is submitted or errors out.
2017-05-19 15:03:56 +02:00
Péter Szilágyi
e61035c5a3
cmd, eth, les, mobile: make networkid uint64 everywhere
2017-04-25 14:53:50 +03:00
bas-vk
54253aae4c
internal/ethapi: return empty arrays instead of null ( #14374 )
...
* internal/ethapi: return empty arrays instead of null
* internal/ethapi: minor comments to avoid future regressions
2017-04-24 15:00:30 +03:00
Péter Szilágyi
09777952ee
core, consensus: pluggable consensus engines ( #3817 )
...
This commit adds pluggable consensus engines to go-ethereum. In short, it
introduces a generic consensus interface, and refactors the entire codebase to
use this interface.
2017-04-05 00:16:29 +02:00
Felix Lange
c213fd1fd8
all: import "context" instead of "golang.org/x/net/context"
...
There is no need to depend on the old context package now that the
minimum Go version is 1.7. The move to "context" eliminates our weird
vendoring setup. Some vendored code still uses golang.org/x/net/context
and it is now vendored in the normal way.
This change triggered new vet checks around context.WithTimeout which
didn't fire with golang.org/x/net/context.
2017-03-22 20:49:15 +01:00
Yohann Leon
6742fc526f
core/vm: use uint64 instead of *big.Int in tracer ( #3805 )
2017-03-22 15:32:51 +01:00