alex.sharov
344b8029cc
handle interruption signals, added context for client and server. Only problem that it's context to DB, but not to each server call - it means you can't use HTTP Request context here (or create new connection on each request).
2019-12-06 08:12:02 +07:00
alex.sharov
80ea8a38ad
test for CmdCursorFirst
2019-12-06 08:12:02 +07:00
alex.sharov
49a614eae8
Bug fixes:
...
- rollback must catch local variable, if you write value to lastError variable
- then you can't do "return" - because it closing connection and client can't send CmdLastError
- somewhere error values was ommited in loging
2019-12-06 08:12:02 +07:00
alex.sharov
75e0b1bc85
revert changed bucket name
2019-12-06 08:12:02 +07:00
alex.sharov
1ffbb97752
removed unnecessary allocations, add tcp context
2019-12-06 08:12:02 +07:00
alex.sharov
d8f93ae187
Batch cursor.First and cursor.Next for remote db.
2019-12-06 08:12:02 +07:00
ledgerwatch
9f0780d0c9
Update config.yml
2019-12-05 20:20:46 +00:00
Igor Mandrigin
28d9b7c812
Use binary tries for the stateless action as an option. ( #218 )
2019-12-04 13:48:38 +01:00
Igor Mandrigin
39db278d68
Merge pull request #219 from ledgerwatch/issue-216-geth-1.9.8
...
(merge commit to separate it from the main dev activity)
2019-12-04 08:52:50 +01:00
Igor Mandrigin
ec6350fa15
apply post-rebase fixups
2019-12-03 16:27:57 +01:00
Péter Szilágyi
9318d4ce8c
params: release go-ethereum v1.9.8
2019-12-03 14:01:47 +01:00
Felföldi Zsolt
b80dfd8433
les: fix clientInfo deadlock ( #20395 )
2019-12-03 14:01:37 +01:00
Felix Lange
97d5a997df
p2p/discover: slow down lookups on empty table ( #20389 )
...
* p2p/discover: slow down lookups on empty table
* p2p/discover: wake from slowdown sleep when table is closed
2019-12-03 14:01:24 +01:00
Guillaume Ballet
486d1f09d2
accounts/keystore: fix staticcheck warnings ( #20373 )
...
* accounts/keystore: fix staticcheck warnings
* review feedback
2019-12-03 14:01:17 +01:00
gary rong
e1b20c8a87
accounts/abi/bind: avoid reclaring structs ( #20381 )
2019-12-03 14:01:09 +01:00
Felix Lange
5922c32582
rlp: fix staticcheck warnings ( #20368 )
...
* rlp: fix staticcheck warnings
* rlp: fix ExampleDecode test
2019-12-03 14:00:59 +01:00
meows
6a8042fe21
cmd/geth: remove network id from version cmd
...
It was reflective only of the Default setting,
and not chain aware.
2019-12-03 14:00:47 +01:00
gary rong
2494457f6e
trie: replace bigcache with fastcache ( #19971 )
2019-12-03 14:00:04 +01:00
Guillaume Ballet
bf0a416717
eth/tracers: fix staticcheck warnings ( #20379 )
2019-12-03 13:57:56 +01:00
Guillaume Ballet
b4124c24ca
miner: fix staticcheck warnings ( #20375 )
2019-12-03 13:57:41 +01:00
Michael Forney
d380af4457
core/asm: allow numbers in labels ( #20362 )
...
Numbers were already allowed when creating labels, just not when
referencing them.
2019-12-03 13:55:30 +01:00
Guillaume Ballet
126faa81a6
tests, signer: remove staticcheck warnings ( #20364 )
2019-12-03 13:55:17 +01:00
Felix Lange
223173e4dc
p2p/discv5: add deprecation warning and remove unused code ( #20367 )
...
* p2p/discv5: add deprecation warning and remove unused code
* p2p/discv5: remove unused variables
2019-12-03 13:55:07 +01:00
Felix Lange
9438438a0a
trie: remove unused code ( #20366 )
2019-12-03 13:54:39 +01:00
Guillaume Ballet
566dfcf8f4
metrics: fix issues reported by staticcheck ( #20365 )
2019-12-03 13:54:15 +01:00
Felix Lange
756bf779e4
core/state: fix staticcheck warnings ( #20357 )
...
Also remove dependency on gopkg.in/check.v1 in tests.
2019-12-03 13:54:05 +01:00
Felix Lange
6fc749ccf9
accounts/abi: fix staticcheck warnings ( #20358 )
...
* accounts/abi: fix staticcheck warnings
* accounts/abi: restore unused field for test
2019-12-03 13:52:35 +01:00
Felix Lange
4afc0ecb76
accounts/abi/bind/backends: remove unused assignment ( #20359 )
2019-12-03 13:51:49 +01:00
Péter Szilágyi
d0ea0833f3
build: skip go clean on PPA, messes with the module trick
2019-12-03 13:51:28 +01:00
Felix Lange
0ad91599b5
core/types: remove BlockBy sorting code ( #20355 )
2019-12-03 13:51:21 +01:00
Felix Lange
bbea24b5f2
common: improve GraphQL error messages ( #20354 )
2019-12-03 13:50:58 +01:00
Péter Szilágyi
de319f1173
build: pull in ci.go dependencies for the PPA builder
2019-12-03 13:50:47 +01:00
Felix Lange
9f9126f9e8
common/hexutil: improve GraphQL error messages ( #20353 )
2019-12-03 13:50:16 +01:00
Martin Holst Swende
47fe645fb9
cmd/puppeth: make ssh prompt more user-friendly
2019-12-03 13:50:06 +01:00
meows
b1d5f7c1d4
cmd/puppeth: x-spec nonce data type, use types.BlockNonce
...
Refactors to use existing BlockNonce type instead of
hand-rolled bytes logic.
2019-12-03 13:49:51 +01:00
meowsbits
3783dd50dc
tests: enable TransactionTests Istanbul case ( #20337 )
2019-12-03 13:49:23 +01:00
Péter Szilágyi
ca19429585
build, travis: use ephemeral debsrc GOPATH to get mod deps
2019-12-03 13:49:15 +01:00
meows
d9b7d4aacd
tests: refactor TestState to dedupe walk callback
...
Minor refactoring.
2019-12-03 13:49:06 +01:00
Péter Szilágyi
c63030fbd7
mobile: fix CopyFile switch to package cp
2019-12-03 13:48:16 +01:00
Péter Szilágyi
26d96e849d
travis: fake build ppa only for go module dependencies
2019-12-03 13:48:01 +01:00
Péter Szilágyi
2075c3f501
build, internal/build: drop own file/folder copier
2019-12-03 13:47:50 +01:00
Péter Szilágyi
36b44ed1dc
go.mod: tidy up the modules to avoid xgo writes to go.sum
2019-12-03 13:47:28 +01:00
Péter Szilágyi
1dea28a9b1
travis, build: aggregate and upload go mod dependencies for PPA
2019-12-03 13:47:02 +01:00
Péter Szilágyi
4296dc90a9
accounts/abi/bind: switch binding test to go modules
2019-12-03 13:46:54 +01:00
Péter Szilágyi
3e6d939e55
travis: explicitly enable go modules in Go 1.11 and 1.12
2019-12-03 13:46:44 +01:00
Péter Szilágyi
a2b2f58d65
go.mod, vendor: switch to Go modules
2019-12-03 13:46:36 +01:00
gary rong
157a52dd45
cmd/puppeth: update chain spec of parity ( #20241 )
2019-12-03 13:45:56 +01:00
gary rong
43eb7f7aee
miner: fix data race in tests ( #20310 )
...
* miner: fix data race in tests
miner: fix linter
* miner: address comment
2019-12-03 13:45:42 +01:00
Felix Lange
b48ec1de03
core: fix staticcheck warnings ( #20323 )
2019-12-03 13:45:11 +01:00
Felix Lange
d6f144ceb0
rpc: remove 'exported or builtin' restriction for parameters ( #20332 )
...
* rpc: remove 'exported or builtin' restriction for parameters
There is no technial reason for this restriction because package reflect
can create values of any type. Requiring parameters and return values to
be exported causes a lot of noise in package exports.
* rpc: fix staticcheck warnings
2019-12-03 13:44:56 +01:00