Guillaume Ballet
c7a6be163f
cmd/utils: don't enumerate USB unless --usb is set ( #22130 )
...
USB enumeration still occured. Make sure it will only occur if --usb is set.
This also deprecates the 'NoUSB' config file option in favor of a new option 'USB'.
4 years ago
Martin Holst Swende
aba0c234c2
cmd/geth: make tests run quicker + use less memory and disk ( #21919 )
4 years ago
Martin Holst Swende
6f88d6530a
trie, rpc, cmd/geth: fix tests on 32-bit and windows + minor rpc fixes ( #21871 )
...
* trie: fix tests to work on 32-bit systems
* les: make test work on 32-bit platform
* cmd/geth: fix windows-issues on tests
* trie: improve balance
* cmd/geth: make account tests less verbose + less mem intense
* rpc: make debug-level log output less verbose
* cmd/geth: lint
4 years ago
Martin Holst Swende
6b9858085f
cmd/geth: improve les test on windows ( #21860 )
4 years ago
Felföldi Zsolt
4996fce25a
les, les/lespay/server: refactor client pool ( #21236 )
...
* les, les/lespay/server: refactor client pool
* les: use ns.Operation and sub calls where needed
* les: fixed tests
* les: removed active/inactive logic from peerSet
* les: removed active/inactive peer logic
* les: fixed linter warnings
* les: fixed more linter errors and added missing metrics
* les: addressed comments
* cmd/geth: fixed TestPriorityClient
* les: simplified clientPool state machine
* les/lespay/server: do not use goroutine for balance callbacks
* internal/web3ext: fix addBalance required parameters
* les: removed freeCapacity, always connect at minCapacity initially
* les: only allow capacity change with priority status
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
4 years ago
Martin Holst Swende
54add42550
cmd/geth/tests: try to fix spurious travis failure in les tests ( #21410 )
...
* cmd/geth/tests: try to fix spurious travis failure in les tests
* cmd/geth: les_test - remove extraneous option during boot
4 years ago
rene
beabf95ad7
cmd/geth, cmd/puppeth: replace deprecated rpc and ws flags in tests and docs ( #21317 )
4 years ago
Adam Schmideg
ec51cbb5fb
cmd/geth: LES priority client test ( #20719 )
...
This adds a regression test for the LES priority client API.
4 years ago