Péter Szilágyi
32ee1b3cd8
Merge pull request #3715 from karalabe/update-hid-library
...
vendor: update HID library for glibc < v2.17 build
2017-02-27 14:04:40 +02:00
Péter Szilágyi
45c7cfd2e6
vendor: update HID library for glibc < v2.17 build
2017-02-27 12:58:09 +02:00
Péter Szilágyi
50ee279f25
Merge pull request #3705 from karalabe/drop-legacy-commands
...
Drop legacy commands
2017-02-24 13:59:56 +02:00
Péter Szilágyi
aca066f337
cmd/geth: drop upgradedb subcommand since it's unfeasible
...
This command was meant as a hackish way to upgrade our chain database way back
when nobody cared for live updates and the size of the database along with its
import times was small. With the current database weighing hundreds of GBs and
processing times of many days, this command is just ludicrous.
2017-02-23 16:49:50 +02:00
Péter Szilágyi
5ee00209d2
cmd/ethtest: drop the manual test tool in favor of hive
...
All the state and block tests are ran as part of our CU builds internally, as
well as have been added to hive black-box tests. As such, there is no reason for
maintaining an extra standalone tool.
2017-02-23 16:49:50 +02:00
Péter Szilágyi
e7bdb00700
cmd/gethrpctest: ethereum/rpc-tests is deprecated
...
Only ethereum/rpc-tests used this command, which hasn't been maintained for over
a year now, a lot of tests failing. What's left of it was moved underneath hive,
which can run the entire test against a black-box geth without special commands.
Also a new RPC test suite is being added which is also based on black box tests,
not needing special commands any more.
2017-02-23 16:49:49 +02:00
Péter Szilágyi
357732a840
Merge pull request #3696 from karalabe/contextual-logger
...
Contextual logger
2017-02-23 16:49:05 +02:00
Péter Szilágyi
f89dd62776
internal, log: support debug log prints, displaying log origins
2017-02-23 12:16:47 +02:00
Péter Szilágyi
1ca20a2697
cmd, whisper/mailserver: revert to utils.Fatalf
2017-02-23 12:16:46 +02:00
Péter Szilágyi
23a5d64fd0
accounts, cmd: port packages over to the new logging system
2017-02-23 12:16:46 +02:00
Péter Szilágyi
61e6bb1247
eth, les, swarm: fix go vet issues sufraced by log15
2017-02-23 12:16:45 +02:00
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
2017-02-23 12:16:44 +02:00
Péter Szilágyi
47af53f9aa
log: implement a glog style pattern matching handler
2017-02-23 12:00:05 +02:00
Péter Szilágyi
3f923f3902
swarm: remove superfluous line break in log statements
2017-02-23 12:00:04 +02:00
Péter Szilágyi
189dee26c6
p2p: remove trailing newlines from log messages
2017-02-23 12:00:04 +02:00
Péter Szilágyi
b9d48b4a93
log: add support for trace level, exit on critical
2017-02-23 12:00:03 +02:00
Péter Szilágyi
ec7f81f4bc
log, vendor: vendor in log15 inline into our codebase
2017-02-23 12:00:02 +02:00
Péter Szilágyi
46ec4357e7
Merge pull request #3698 from karalabe/govet-latest-only
...
travis: only run go vet and misspell on latest Go
2017-02-22 17:08:00 +02:00
Péter Szilágyi
c6e716eb31
travis: only run go vet and misspell on latest Go
2017-02-22 15:40:28 +02:00
Péter Szilágyi
388803b139
Merge pull request #3682 from karalabe/update-go1.8
...
travis, appveyor: update builders to Go 1.8
2017-02-22 14:55:47 +02:00
Péter Szilágyi
b7f010de52
tests: cleanup tester blockchain after test run ( #3692 )
2017-02-20 11:54:23 +01:00
Péter Szilágyi
a0c011f1a8
travis: fallback ARM64 builds to Go 1.7.5 due to compiler bug
2017-02-20 11:28:55 +02:00
Péter Szilágyi
449a850023
travis, appveyor: update builders to Go 1.8
2017-02-20 11:22:56 +02:00
Péter Szilágyi
6f74fb962e
Merge pull request #3683 from karalabe/swarm-go1.8-vet-fix
...
swarm/api/http: fix go vet issue on Go 1.8
2017-02-17 12:08:31 +02:00
Péter Szilágyi
6ec8135256
accounts/usbwallet, vendor: use hidapi instead of libusb directly
2017-02-17 12:04:21 +02:00
Péter Szilágyi
e94dfb78f8
swarm/api/http: fix go vet issue on Go 1.8
2017-02-17 11:48:26 +02:00
Péter Szilágyi
bdef758d5c
Merge pull request #3679 from fjl/vendor-govendor
...
vendor: update dependencies with github.com/kardianos/govendor
2017-02-16 18:23:58 +02:00
Péter Szilágyi
a973d1d523
Merge pull request #3674 from obscuren/gaz64
...
params: core, core/vm, miner: 64bit gas instructions
2017-02-14 18:59:00 +02:00
Péter Szilágyi
4ece9c6cb0
VERSION, params: start 1.5.10 development cycle
2017-02-13 19:02:57 +02:00
Péter Szilágyi
a07539fb88
Merge pull request #3671 from karalabe/1.5.9-stable
...
params: 1.5.9 stable
2017-02-13 18:54:59 +02:00
Péter Szilágyi
6988e5f074
Merge pull request #3670 from karalabe/docker-usb-fix
...
Dockerfile: support building USB on Alpine, ignore temp files
2017-02-13 18:47:27 +02:00
Péter Szilágyi
aba016da72
params: 1.5.9 stable
2017-02-13 18:38:21 +02:00
Péter Szilágyi
09aef5c0ae
Dockerfile: support building USB on Alpine, ignore temp files
2017-02-13 18:31:09 +02:00
Péter Szilágyi
9b161187ec
Merge pull request #3649 from ethersphere/swarm-sigterm-fix
...
cmd/swarm: handle SIGTERM unix signal for clean exit
2017-02-13 18:22:15 +02:00
Péter Szilágyi
0850f68fd1
Merge pull request #3668 from obscuren/revert-gas64
...
Revert "params: core, core/vm, miner: 64bit gas instructions (#3514 )"
2017-02-13 17:13:40 +02:00
Péter Szilágyi
f8f428cc18
Merge pull request #3592 from karalabe/hw-wallets
...
accounts: initial support for Ledger hardware wallets
2017-02-13 15:03:16 +02:00
Péter Szilágyi
e99c788155
accounts: ledger and HD review fixes
...
- Handle a data race where a Ledger drops between list and open
- Prolong Ledger tx confirmation window to 30 days from 1 minute
- Simplify Ledger chainid-signature calculation and validation
- Simplify Ledger USB APDU request chunking algorithm
- Silence keystore account cache notifications for manual actions
- Only enable self derivations if wallet open succeeds
2017-02-13 14:00:12 +02:00
Péter Szilágyi
c7022c1a0c
accounts/usbwallet: detect and report in Ledger is in browser mode
2017-02-13 14:00:11 +02:00
Péter Szilágyi
26cd41f0c7
accounts/usbwallet: make wallet responsive while Ledger is busy
2017-02-13 14:00:10 +02:00
Péter Szilágyi
fb19846855
accounts/usbwallet: Ledger teardown on health-check failure
2017-02-13 14:00:10 +02:00
Péter Szilágyi
205ea95802
accounts, cmd, internal, node: implement HD wallet self-derivation
2017-02-13 14:00:09 +02:00
Péter Szilágyi
c5215fdd48
accounts, cmd, internal, mobile, node: canonical account URLs
2017-02-13 14:00:08 +02:00
Péter Szilágyi
fad5eb0a87
accounts, cmd, eth, internal, miner, node: wallets and HD APIs
2017-02-13 14:00:07 +02:00
Péter Szilágyi
b3c0e9d3cc
accounts/usbwallet: two phase Ledger refreshes to avoid Windows bug
2017-02-13 14:00:07 +02:00
Péter Szilágyi
470b79385b
accounts/usbwallet: support Ledger app version <1.0.2
2017-02-13 14:00:06 +02:00
Péter Szilágyi
1ecf99bd0f
accounts/usbwallet: skip support on iOS altogether
2017-02-13 14:00:05 +02:00
Péter Szilágyi
e0fb4d1da9
build: work around CGO linker bug on pre-1.8 Go
2017-02-13 14:00:04 +02:00
Péter Szilágyi
ac2a0e615b
accounts/usbwallet: initial support for Ledger wallets
2017-02-13 14:00:04 +02:00
Péter Szilágyi
52bd4e29ff
vendor: pull in support for USB devices via libusb/gousb
2017-02-13 14:00:03 +02:00
Péter Szilágyi
833e4d1319
accounts, cmd, eth, internal, mobile, node: split account backends
2017-02-13 14:00:02 +02:00
Péter Szilágyi
aaf9cfd18c
Merge pull request #3662 from karalabe/travis-linux-android
...
travis: split Android off OSX, use native image
2017-02-12 19:25:32 +02:00
Péter Szilágyi
7ff686d6ec
travis: split Android off OSX, use native image
2017-02-10 19:24:37 +02:00
Péter Szilágyi
0cc9409fda
Merge pull request #3648 from bas-vk/abigen
...
cmd/abigen: parse contract name as abi identifier
2017-02-10 12:11:43 +02:00
Péter Szilágyi
fa99986143
Merge pull request #3641 from karalabe/events-init-once
...
event: use sync.Once for init for faster/cleaner locking
2017-02-03 14:34:12 +02:00
Péter Szilágyi
9b5c7153c9
event: use sync.Once for init for faster/cleaner locking
2017-02-03 14:04:57 +02:00
Péter Szilágyi
d52b0c32a0
Merge pull request #3635 from holiman/hive_fixes
...
core/genesis: add support for setting nonce in 'alloc'
2017-02-03 14:00:18 +02:00
Péter Szilágyi
7734ead520
Merge pull request #3605 from fjl/event-feed
...
event: add new Subscription type and related utilities
2017-02-03 13:56:00 +02:00
Péter Szilágyi
1c140f7382
Merge pull request #3615 from nolash/bzzpathfix_real5
...
cmd/swarm, swarm/api: bzzr improve + networkid prio
2017-01-30 16:36:30 +02:00
Péter Szilágyi
e5a93bf99a
swarm/api/http: add missing copyright header
2017-01-30 15:21:46 +02:00
Péter Szilágyi
f3c368ca73
Merge pull request #3624 from kaneshin/patch-01
...
cmd/geth, cmd/swarm: Fix to close file handler appropriately
2017-01-30 12:24:41 +02:00
Péter Szilágyi
b8823a8b34
Merge pull request #3623 from kaneshin/patch-1
...
build: Fix tiny typo
2017-01-29 20:46:55 +02:00
Péter Szilágyi
2718b42828
Merge pull request #3599 from karalabe/docker-alpine-cacerts
...
containers/docker: update base images, add CA certs, build internally on Ubuntu
2017-01-24 13:46:56 +02:00
Péter Szilágyi
0b9070fe01
containers/docker: update ubuntu images to build, not pull
2017-01-23 12:12:38 +02:00
Péter Szilágyi
c04598f2b0
containers/docker: update to alpine 3.5, add CA certificates
2017-01-23 11:46:15 +02:00
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.
2017-01-20 23:39:16 +01:00
Péter Szilágyi
946db8ba65
internal/guide: initial test suite to ensure guide snippets run ok ( #3582 )
2017-01-20 11:50:21 +01:00
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.
2017-01-20 10:33:58 +01:00
Péter Szilágyi
ebc3d232f4
eth/downloader: fix mutex regression causing panics on fail ( #3591 )
2017-01-20 01:12:14 +01:00
Péter Szilágyi
f087c66f95
Merge pull request #3584 from obscuren/dead-code
...
core: removal of dead-code
2017-01-18 13:36:21 +02:00
Péter Szilágyi
d63752ef4d
Merge pull request #3579 from bas-vk/natspec
...
cmd,eth,les,internal: remove natspec support
2017-01-17 14:38:57 +02:00
Péter Szilágyi
2eefed84c9
Merge pull request #3581 from karalabe/accounts-polish
...
accounts, mobile: make account manager API a bit more uniform
2017-01-17 14:09:29 +02:00
Péter Szilágyi
230530f5ea
accounts, mobile: make account manager API a bit more uniform
2017-01-17 13:25:36 +02:00
Péter Szilágyi
2a1a531ba3
Merge pull request #3570 from fjl/hexutil-zero-fix
...
common/hexutil: fix EncodeBig, Big.MarshalJSON
2017-01-16 11:49:17 +02:00
Péter Szilágyi
b5a100b859
Merge pull request #3560 from karalabe/ci-misspell
...
travis, appveyor, build: add source spell checking
2017-01-13 12:16:22 +02:00
Péter Szilágyi
54fcab20e3
appveyor, build: fix review requests
2017-01-13 12:04:55 +02:00
Péter Szilágyi
a2bc90d1d7
build: spellcheck individual packages (Windows path limits)
2017-01-13 11:22:24 +02:00
Péter Szilágyi
c01f8c3d3c
accounts/abi: fix comment spelling error
2017-01-13 11:14:47 +02:00
Péter Szilágyi
e4181a7f1b
travis, appveyor, build: add source spell checking
2017-01-13 11:14:13 +02:00
Péter Szilágyi
93077c98e4
internal: update web3.js to 0.18.1, embed deps with go-bindata ( #3545 )
2017-01-12 21:28:35 +01:00
Péter Szilágyi
3dab303826
Merge pull request #3555 from obscuren/unskip-test
...
tests: unskip test
2017-01-12 12:08:56 +02:00
Péter Szilágyi
ce7822c130
Merge pull request #3553 from bas-vk/rm-olympic-support
...
core: remove support for Olympic network
2017-01-12 11:26:00 +02:00
Péter Szilágyi
218ec6c085
Merge pull request #3551 from fjl/core-import-log-align
...
core: improve import log alignment
2017-01-11 14:53:54 +02:00
Péter Szilágyi
b52fde7cf7
Merge pull request #3546 from fjl/deps-update
...
vendor: update dependencies
2017-01-11 12:14:08 +02:00
Péter Szilágyi
2b4d0b6ff9
Merge pull request #3548 from fjl/geth-fix-bootnodes
...
cmd/utils: fix comma-separated --bootnodes
2017-01-11 10:59:14 +02:00
Péter Szilágyi
02b67558e8
Merge pull request #3535 from fjl/all-ineffassign
...
all: fix ineffectual assignments
2017-01-09 23:53:17 +02:00
Péter Szilágyi
91c8f87fb1
Merge pull request #3538 from karalabe/cycle-1.5.7
...
params, VERSION: start 1.5.7 release cycle
2017-01-09 17:47:35 +02:00
Péter Szilágyi
d056b7fa52
params, VERSION: start 1.5.7 release cycle
2017-01-09 17:45:49 +02:00
Péter Szilágyi
2a609af518
Merge pull request #3537 from karalabe/release-1.5.6
...
params: stable version 1.5.6
2017-01-09 17:39:27 +02:00
Péter Szilágyi
1d5d6616ae
params: stable version 1.5.6
2017-01-09 17:30:35 +02:00
Péter Szilágyi
681b51aac4
Merge pull request #3519 from zsfelfoldi/light-topic5
...
les: fixed selectPeer deadlock, improved request distribution
2017-01-09 16:58:23 +02:00
Péter Szilágyi
4268cb8efe
Merge pull request #3534 from bas-vk/writemipmaprace
...
core: fix race condition in WriteMipmapBloom
2017-01-09 16:58:05 +02:00
Péter Szilágyi
6cb39dd3da
Merge pull request #3529 from fjl/console-error-fix
...
console: fix error message in faux JSON-RPC responses
2017-01-09 13:46:15 +02:00
Péter Szilágyi
88cc1ca55a
Merge pull request #3533 from karalabe/modum-io-develop-2
...
accounts/abi: support custom int slice types
2017-01-09 11:49:17 +02:00
Péter Szilágyi
17182732f5
Merge pull request #3526 from karalabe/misspell
...
all: fix spelling errors
2017-01-06 20:03:44 +02:00
Péter Szilágyi
18c77744ff
all: fix spelling errors
2017-01-06 19:44:35 +02:00
Péter Szilágyi
ac93a6ff6c
Merge pull request #3525 from fjl/all-gosimple-cleanup
...
all: clean up lint issues, remove more dead code
2017-01-06 19:30:44 +02:00
Péter Szilágyi
444fc892b0
Merge pull request #3524 from karalabe/mobile-signwith-swift-fixup
...
mobile: rename passphrase signing method to avoid Swift rewrite
2017-01-06 18:04:19 +02:00
Péter Szilágyi
b56aee3697
mobile: rename passphrase signing method to avoid Swift rewrite
2017-01-06 17:47:15 +02:00
Péter Szilágyi
59b8245bbc
Merge pull request #3516 from fjl/types-drop-sign-ecdsa
...
core/types: remove redundant SignECDSA wrappers, rename to SignTx
2017-01-06 15:55:55 +02:00
Péter Szilágyi
8f9daaa3ba
Merge pull request #3518 from fjl/ethclient-dependency-cleanup
...
core/types: dependency cleanup
2017-01-06 15:42:03 +02:00