Péter Szilágyi
f2e94ff94b
Merge pull request #3727 from karalabe/travis-mips
...
travis: support building mips32 and mips64 too
2017-03-02 15:49:40 +02:00
Péter Szilágyi
213b8f9af4
Merge pull request #3722 from fjl/hexutil-text-unmarshal
...
common/hexutil: implement TextMarshaler, TextUnmarshaler
2017-03-02 15:16:59 +02:00
Péter Szilágyi
9184249b39
Logger updates 3 ( #3730 )
...
* accounts, cmd, eth, ethdb: port logs over to new system
* ethdb: drop concept of cache distribution between dbs
* eth: fix some log nitpicks to make them nicer
2017-03-02 14:06:16 +01:00
Péter Szilágyi
82e7c1d124
Merge pull request #3728 from obscuren/format-trace
...
core/evm, core/vm: improved evm trace output
2017-03-02 13:01:01 +02:00
Péter Szilágyi
f972691eea
travis: support building mips32 and mips64 too
2017-03-02 11:43:06 +02:00
Péter Szilágyi
167be7f260
Merge pull request #3725 from karalabe/kill-it-with-fire
...
errs: kill it with fire
2017-02-28 18:45:44 +02:00
Péter Szilágyi
7e3762fdc6
errs: kill it with fire
2017-02-28 18:01:54 +02:00
Péter Szilágyi
94c71c171f
Merge pull request #3723 from karalabe/logger-updates-2
...
Logger updates
2017-02-28 16:55:37 +02:00
Péter Szilágyi
b117da2db3
core/state: drop most of a logs (useless at this volume)
2017-02-28 15:51:30 +02:00
Péter Szilágyi
e02883c0a2
core, log: track field length and pad to align
2017-02-28 15:36:51 +02:00
Péter Szilágyi
e588e0ca2b
all: next batch of log polishes to contextual versions
2017-02-28 15:03:20 +02:00
Péter Szilágyi
d4f60d362b
Merge pull request #3721 from karalabe/drop-legacy-db-updates
...
core, eth: drop database block splitting upgrader
2017-02-28 14:00:25 +02:00
Péter Szilágyi
46bcd9a92c
core, eth: drop database block splitting upgrader
2017-02-28 13:41:02 +02:00
Péter Szilágyi
965407f238
Merge pull request #3709 from fjl/p2p-context-log
...
p2p, p2p/discover, p2p/nat: rework logging using context keys
2017-02-28 12:22:05 +02:00
Péter Szilágyi
dc0a006c7c
Merge pull request #3718 from karalabe/terminal-format-hash
...
common, eth/downloader, log: support terminal log formatting
2017-02-27 20:49:17 +02:00
Péter Szilágyi
2f28a12cdb
common, eth/downloader, log: support terminal log formatting
2017-02-27 19:15:18 +02:00
Péter Szilágyi
fc97c7a38d
Merge pull request #3717 from tranvictor/master
...
internal/ethapi: return logsBloom for pending block
2017-02-27 18:11:11 +02:00
Péter Szilágyi
48bc07ae97
Merge pull request #3708 from fjl/log-letter
...
log: fix annoyances
2017-02-27 18:05:50 +02:00
Péter Szilágyi
e8b3e22612
Merge pull request #3711 from karalabe/update-downloader-logs
...
eth/downloader: port over old logs from glog to log15
2017-02-27 14:18:26 +02:00
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
8676aeb798
eth/downloader: review fixes
2017-02-27 13:22:33 +02:00
Péter Szilágyi
46eea4d105
accounts, eth/downloader: use "err" instead of "error" in logs
2017-02-27 13:17:58 +02:00
Péter Szilágyi
0a63c3e362
eth/downloader: port over old logs from glog to log15
2017-02-27 13:16: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