Péter Szilágyi
682875adff
accounts/abi/bind, internal/ethapi: binary search gas estimation ( #3587 )
...
Gas estimation currently mostly works, but can underestimate for more funky
refunds. This is because various ops (e.g. CALL) need more gas to run than they
actually consume (e.g. 2300 stipend that is refunded if not used). With more
intricate contract interplays, it becomes almost impossible to return a proper
value to the user.
This commit swaps out the simplistic gas estimation to a binary search approach,
honing in on the correct gas use. This does mean that gas estimation needs to
rerun the transaction log(max-price) times to measure whether it fails or not,
but it's a price paid by the transaction issuer, and it should be worth it to
support proper estimates.
8 years ago
bas-vk
0126d01435
types: bugfix invalid V derivation on tx json unmarshal ( #3594 )
8 years ago
Péter Szilágyi
946db8ba65
internal/guide: initial test suite to ensure guide snippets run ok ( #3582 )
8 years ago
Péter Szilágyi
7814a8e131
travis: Install Android NDK explicitly, removed from gomobile ( #3593 )
...
The Android NDK was recently removed from gomobile, leading to our Android
builds failing. Starting from https://go-review.googlesource.com/#/c/35173/ ,
gomobile requires a locally installed NDK. This PR ensures that travis installs
that too before running the build steps.
8 years ago
Péter Szilágyi
ebc3d232f4
eth/downloader: fix mutex regression causing panics on fail ( #3591 )
8 years ago
Péter Szilágyi
f087c66f95
Merge pull request #3584 from obscuren/dead-code
...
core: removal of dead-code
8 years ago
Jeffrey Wilcke
508fdc3496
core: removal of dead-code
...
Removal of dead code that appeard as if we had a consensus issue. This
however is not the case as the proper error catching happens in the vm
package instead.
8 years ago
Péter Szilágyi
d63752ef4d
Merge pull request #3579 from bas-vk/natspec
...
cmd,eth,les,internal: remove natspec support
8 years ago
Martin Holst Swende
6fb76443b3
core/blockchain: Made logging of reorgs more structured ( #3573 )
...
* core: Made logging of reorgs more structured, also always log if reorg is > 63 blocks long
* core/blockchain: go fmt
* core/blockchain: Minor fixes to the reorg reporting
8 years ago
Péter Szilágyi
2eefed84c9
Merge pull request #3581 from karalabe/accounts-polish
...
accounts, mobile: make account manager API a bit more uniform
8 years ago
Péter Szilágyi
230530f5ea
accounts, mobile: make account manager API a bit more uniform
8 years ago
Nick Johnson
17d92233d9
cmd/geth, core: add support for recording SHA3 preimages ( #3543 )
8 years ago
Bas van Kervel
54a65e6d87
cmd,eth,les,internal: remove natspec support
8 years ago
Felix Lange
26d385c18b
params, VERSION: 1.5.8 unstable
8 years ago
Felix Lange
da2a22c384
params: stable 1.5.7
8 years ago
Felföldi Zsolt
0fa9a8929c
les: fixed transaction sending deadlock ( #3568 )
8 years ago
Péter Szilágyi
2a1a531ba3
Merge pull request #3570 from fjl/hexutil-zero-fix
...
common/hexutil: fix EncodeBig, Big.MarshalJSON
8 years ago
Felix Lange
51f6b6d33f
common/hexutil: fix EncodeBig, Big.MarshalJSON
...
The code was too clever and failed to include zeros on a big.Word
boundary.
8 years ago
Péter Szilágyi
b5a100b859
Merge pull request #3560 from karalabe/ci-misspell
...
travis, appveyor, build: add source spell checking
8 years ago
Péter Szilágyi
54fcab20e3
appveyor, build: fix review requests
8 years ago
Péter Szilágyi
a2bc90d1d7
build: spellcheck individual packages (Windows path limits)
8 years ago
Péter Szilágyi
c01f8c3d3c
accounts/abi: fix comment spelling error
8 years ago
Péter Szilágyi
e4181a7f1b
travis, appveyor, build: add source spell checking
8 years ago
Felix Lange
01f6f2d741
common/hexutil: allow empty strings when decoding JSON ( #3559 )
8 years ago
Felix Lange
c5df37c111
eth: accept leading zeros for nonce parameter of submitWork ( #3558 )
8 years ago
Felix Lange
e0ceeab0d1
crypto/secp256k1: update to github.com/bitcoin-core/secp256k1 @ 9d560f9 ( #3544 )
...
- Use defined constants instead of hard-coding their integer value.
- Allocate secp256k1 structs on the C stack instead of converting []byte
- Remove dead code
8 years ago
Péter Szilágyi
93077c98e4
internal: update web3.js to 0.18.1, embed deps with go-bindata ( #3545 )
8 years ago
Péter Szilágyi
3dab303826
Merge pull request #3555 from obscuren/unskip-test
...
tests: unskip test
8 years ago
Jeffrey Wilcke
3160fd24ba
tests: unskip test
8 years ago
Péter Szilágyi
ce7822c130
Merge pull request #3553 from bas-vk/rm-olympic-support
...
core: remove support for Olympic network
8 years ago
Bas van Kervel
745a3adebd
core: remove support for Olympic network
8 years ago
Péter Szilágyi
218ec6c085
Merge pull request #3551 from fjl/core-import-log-align
...
core: improve import log alignment
8 years ago
Nick Johnson
d30d7800e0
ethdb: Implement interface for prefixed operations to the DB ( #3536 )
8 years ago
Felix Lange
8820d97039
internal/ethapi: fix duration parameter of personal_unlockAccount ( #3542 )
8 years ago
Péter Szilágyi
b52fde7cf7
Merge pull request #3546 from fjl/deps-update
...
vendor: update dependencies
8 years ago
Péter Szilágyi
2b4d0b6ff9
Merge pull request #3548 from fjl/geth-fix-bootnodes
...
cmd/utils: fix comma-separated --bootnodes
8 years ago
Felix Lange
21f1370d2a
core: improve import log alignment
8 years ago
Felix Lange
d78f9b834a
vendor: update all dependencies except Azure SDK
...
The Azure SDK doesn't support Go 1.5 anymore. We can't upgrade it until
Go 1.8 comes out.
8 years ago
Felix Lange
445deb7470
cmd/utils: fix comma-separated --bootnodes
8 years ago
Péter Szilágyi
02b67558e8
Merge pull request #3535 from fjl/all-ineffassign
...
all: fix ineffectual assignments
8 years ago
Péter Szilágyi
91c8f87fb1
Merge pull request #3538 from karalabe/cycle-1.5.7
...
params, VERSION: start 1.5.7 release cycle
8 years ago
Péter Szilágyi
d056b7fa52
params, VERSION: start 1.5.7 release cycle
8 years ago
Péter Szilágyi
2a609af518
Merge pull request #3537 from karalabe/release-1.5.6
...
params: stable version 1.5.6
8 years ago
Péter Szilágyi
1d5d6616ae
params: stable version 1.5.6
8 years ago
Felix Lange
b9b3efb09f
all: fix ineffectual assignments and remove uses of crypto.Sha3
...
go get github.com/gordonklaus/ineffassign
ineffassign .
8 years ago
Felix Lange
0f34d506b5
generators: delete dead code
...
We don't use this anymore.
8 years ago
Felix Lange
5eccc122e8
build, node: fix go vet nits
8 years ago
Péter Szilágyi
681b51aac4
Merge pull request #3519 from zsfelfoldi/light-topic5
...
les: fixed selectPeer deadlock, improved request distribution
8 years ago
Péter Szilágyi
4268cb8efe
Merge pull request #3534 from bas-vk/writemipmaprace
...
core: fix race condition in WriteMipmapBloom
8 years ago
Viktor Trón
3f1a72908c
cmd/swarm: uploader uses HTTP PUT for directories ( #3488 )
8 years ago