Felix Lange
9d48dbf5c2
eth: revert tracer preimage recording ( #15800 )
...
This reverts commits 85a1eda59e
(#15792 ) and c495bca4ad
(#15787 )
because they introduce database writes during tracing.
7 years ago
Felix Lange
85a1eda59e
eth: uncaptialize tracer preimage error message ( #15792 )
...
* eth: uncaptialize tracer preimage error message
* eth: improve very important error message
7 years ago
Richard Hart
72e70bcec2
console: remove comment about 'invalid' input ( #15735 )
...
All inputs are saved into history, including 'invalid' inputs.
7 years ago
ferhat elmas
5866626b08
core, p2p/discv5: use time.NewTicker instead of time.Tick ( #15747 )
7 years ago
cdetrio
c495bca4ad
eth: enable preimage recording when tracing ( #15787 )
7 years ago
Péter Szilágyi
413cc5b0c8
cmd/geth: remove trailing newline in license command ( #15782 )
7 years ago
Péter Szilágyi
d2533d0efb
vendor: update github.com/rjeczalik/notify for go1.10 ( #15785 )
7 years ago
Péter Szilágyi
3e0113fff4
build: set CC through a command-line flag ( #15784 )
...
This avoids setting CC for the go run invocation, which fails on go1.10.
7 years ago
Péter Szilágyi
9c42a41ed8
eth/downloader: avoid hidden reference to finished statesync request ( #15545 )
7 years ago
Péter Szilágyi
2fe07c203e
build: fix version comparison for go1.10 and beyond ( #15781 )
7 years ago
Deepak Sharma
6882943e39
containers/docker: change docker images to go1.9 ( #15789 )
7 years ago
Péter Szilágyi
b98aa3b4f1
whisper/whisper2: fix Go 1.10 vet issues on type mismatches ( #15783 )
7 years ago
Alex Wu
6cd6b921ac
crypto: ensure private keys are < N ( #15745 )
...
Fixes #15744
7 years ago
sunxiaojun2014
908faf8cd7
consensus/ethash: fix overdue link ( #15786 )
7 years ago
Péter Szilágyi
b9731767af
accounts/abi: handle named ouputs prefixed with underscores ( #15766 )
...
* accounts/abi: handle named ouputs prefixed with underscores
* accounts/abi: handle collinding outputs for struct unpacks
* accounts: handle purely underscore output names
7 years ago
Anton Evangelatov
36a10875c8
p2p/enr: initial implementation ( #15585 )
...
Initial implementation of ENR according to ethereum/EIPs#778
7 years ago
Péter Szilágyi
f7ca03ae87
eth, les, light: expose chain config in les node info too ( #15732 )
7 years ago
Péter Szilágyi
c15d76a40f
p2p/discv5: fix reg lookup, polish code, use logger ( #15737 )
7 years ago
Sorin Neacsu
5369a5c54d
rpc: allow OPTIONS requests without Content-Type ( #15759 )
...
Fixes #15740
7 years ago
Martin Holst Swende
9d187f0238
Merge pull request #15731 from holiman/revamp_abi
...
accounts/abi refactor
7 years ago
Martin Holst Swende
c095c87e11
accounts/abi: merging of https://github.com/ethereum/go-ethereum/pull/15452 + lookup by id
7 years ago
Martin Holst Swende
73d4a57d47
acounts/abi: refactor abi, generalize abi pack/unpack to Arguments
7 years ago
gary rong
5f8888e116
accounts, consensus, core, eth: make chain maker consensus agnostic ( #15497 )
...
* accounts, consensus, core, eth: make chain maker consensus agnostic
* consensus, core: move CalcDifficulty to Engine interface
* consensus: add docs for calcDifficulty function
* consensus, core: minor comment fixups
7 years ago
Kurkó Mihály
9dbb8ef4aa
dashboard: integrate Flow, sketch message API ( #15713 )
...
* dashboard: minor design change
* dashboard: Flow integration, message API
* dashboard: minor polishes, exclude misspell linter
7 years ago
Péter Szilágyi
52f4d6dd78
Merge pull request #15730 from karalabe/puppeth-expose-faucet-http
...
cmd/puppeth: fix faucet 502 error due to non-exposed HTTP port
7 years ago
Péter Szilágyi
e4aa882ec5
cmd/puppeth: fix faucet 502 error due to non-exposed HTTP port
7 years ago
gluk256
38b1e8ee20
whisper/whisperv6: PoW requirement ( #15701 )
...
New Whisper-level message introduced (PoW requirement),
corresponding logic added, plus some tests.
7 years ago
Robert Zaremba
81d4cafb32
accounts/abi: add unpack into array test
7 years ago
Robert Zaremba
1afca33eac
accounts/abi: add Method Unpack tests
...
+ Reworked Method Unpack tests into more readable components
+ Added Method Unpack into slice test
7 years ago
Robert Zaremba
95461e8b22
accounts/abi: satisfy most of the linter warnings
...
+ adding missing comments
+ small cleanups which won't significantly change
function body.
+ unify Method receiver name
7 years ago
Robert Zaremba
0ed8b838a9
accounts/abi: fix event unpack into slice
...
+ The event slice unpacker doesn't correctly extract element from the
slice. The indexed arguments are not ignored as they should be
(the data offset should not include the indexed arguments).
+ The `Elem()` call in the slice unpack doesn't work.
The Slice related tests fails because of that.
+ the check in the loop are suboptimal and have been extracted
out of the loop.
+ extracted common code from event and method tupleUnpack
7 years ago
Robert Zaremba
9becba5540
accounts/abi: fix event tupleUnpack
...
Event.tupleUnpack doesn't handle correctly Indexed arguments,
hence it can't unpack an event with indexed arguments.
7 years ago
Robert Zaremba
3511904aad
accounts/abi: adding event unpacker tests
7 years ago
Martin Holst Swende
b0d41e386e
Merge pull request #15285 from yondonfu/abi-offset-fixed-arrays
...
accounts/abi: include fixed array size in offset for dynamic type
7 years ago
Péter Szilágyi
91c3362315
Merge pull request #15729 from karalabe/faucet-fix-twitter
...
cmd/faucet: fix removal of Twitter zlib compression
7 years ago
lash
14852810b4
cmd/utils: add check on fd hard limit, skip test if below target ( #15684 )
...
* cmd/utils: Add check on hard limit, skip test if below target
* cmd/utils: Cross platform compatible fd limit test
* cmd/utils: Remove syscall.Rlimit in test
* cmd/utils: comment fd utility method
7 years ago
Janoš Guljaš
542d51895f
swarm/api: url scheme bzz-hash to get hashes of swarm content ( #15238 ) ( #15715 )
...
* swarm/api: url scheme bzz-hash to get hashes of swarm content (#15238 )
Update URI to support bzz-hash scheme and handle such HTTP requests by
responding with hash of the content as a text/plain response.
* swarm/api: return hash of the content for bzz-hash:// requests
* swarm/api: revert "return hash of the content for bzz-hash:// requests"
Return hashes of the content that would be returned by bzz-raw
request.
* swarm/api/http: handle error in TestBzzGetPath
* swarm/api: remove extra blank line in comment
7 years ago
Péter Szilágyi
68651a2329
cmd/faucet: fix removal of Twitter zlib compression
7 years ago
Péter Szilágyi
5258785c81
cmd, core, eth/tracers: support fancier js tracing ( #15516 )
...
* cmd, core, eth/tracers: support fancier js tracing
* eth, internal/web3ext: rework trace API, concurrency, chain tracing
* eth/tracers: add three more JavaScript tracers
* eth/tracers, vendor: swap ottovm to duktape for tracing
* core, eth, internal: finalize call tracer and needed extras
* eth, tests: prestate tracer, call test suite, rewinding
* vendor: fix windows builds for tracer js engine
* vendor: temporary duktape fix
* eth/tracers: fix up 4byte and evmdis tracer
* vendor: pull in latest duktape with my upstream fixes
* eth: fix some review comments
* eth: rename rewind to reexec to make it more obvious
* core/vm: terminate tracing using defers
7 years ago
Péter Szilágyi
1a5425779b
Merge pull request #15727 from karalabe/rinkeby-akasha-bootnode
...
params: add Rinkeby bootnode from Akasha
7 years ago
Péter Szilágyi
a28390542c
params: add Rinkeby bootnode from Akasha
7 years ago
Steven Roose
eeb53bc143
cmd/ethkey: new command line tool for keys ( #15438 )
...
ethkey is a new tool that serves as a command line interface to
the basic key management functionalities of geth. It currently
supports:
- generating keyfiles
- inspecting keyfiles (print public and private key)
- signing messages
- verifying signed messages
7 years ago
Bob Glickstein
e21aa0fda3
accounts/abi: remove check for len%32==0 when unpacking events ( #15670 )
...
This change inlines the logic of bytesAreProper at its sole
callsite, ABI.Unpack, and applies the multiple-of-32 test only in
the case of unpacking methods. Event data is not required to be a
multiple of 32 bytes long.
7 years ago
gluk256
9f1007e554
whisper/whisperv6: message bundling ( #15666 )
...
Changed the communication protocol for ordinary message,
according to EIP 627. Messages will be send in bundles, i.e.
array of messages will be sent instead of single message.
7 years ago
Péter Szilágyi
4b939c23e4
appveyor: bump Go to 1.9.2 ( #15726 )
7 years ago
Péter Szilágyi
7138de7b55
core: silence txpool reorg warning (annoying on import) ( #15725 )
7 years ago
Kurkó Mihály
b4cf57a581
core: fix typos ( #15720 )
7 years ago
Dmitry Shulyak
da58afcea0
accounts/abi: update array length after parsing array ( #15618 )
...
Fixes #15617
7 years ago
Felix Lange
ce823c9f84
crypto: ensure that VerifySignature rejects malleable signatures ( #15708 )
...
* crypto: ensure that VerifySignature rejects malleable signatures
It already rejected them when using libsecp256k1, make sure the nocgo
version does the same thing.
* crypto: simplify check
* crypto: fix build
7 years ago
Péter Szilágyi
5e1581c2c3
core: fix panic when stat-ing a tx from a queue-only account ( #15714 )
7 years ago