Péter Szilágyi
319098cc1c
trie: fix a temporary memory leak in the memcache
6 years ago
Fabian Raetz
223d943481
vendor: update docker/docker/pkg/reexec so that it compiles on OpenBSD ( #17084 )
6 years ago
Péter Szilágyi
8974e2e5e0
Merge pull request #17092 from pilu/master
...
remove formatting from ResettingTimer metrics if requested in raw format
6 years ago
gary rong
a4a2343cdc
ethdb, core: implement delete for db batch ( #17101 )
6 years ago
kevin.xu
fdfd6d3c39
ethstats: comment minor correction ( #17102 )
...
spell correction from `repors` to `reports`
6 years ago
Andrea Franz
b5537c5601
node: remove formatting from ResettingTimer metrics if requested in raw
6 years ago
Péter Szilágyi
e916f9786d
Merge pull request #17087 from OpenCommunityCoin/build/portable-shell
...
build: make build/goimports.sh more potable
6 years ago
hackyminer
909e968ebb
build: make build/goimports.sh more potable
6 years ago
Guillaume Ballet
598f786aab
core/vm: clear linter warnings ( #17057 )
...
* core/vm: clear linter warnings
* core/vm: review input
* core/vm.go: revert lint in noop as per request
6 years ago
Adrià Cidre
461291882e
whisper: Reduce message loop log from Warn to Info ( #17055 )
6 years ago
lash
1f0f6f0272
swarm/pss: Hide big network tests under longrunning flag ( #17074 )
6 years ago
Balint Gabor
0a22ae5572
swarm/fuse: Disable fuse tests, they are flaky ( #17072 )
6 years ago
Péter Szilágyi
b0cfd9c786
Merge pull request #17054 from chfast/log-time-format
...
log: Change time format
6 years ago
Paweł Bylica
6d8a1bfb08
log: Change time format
...
- Keep the tailing zeros.
- Limit precision to milliseconds.
6 years ago
gary rong
4895665670
les: handle conn/disc/reg logic in the eventloop ( #16981 )
...
* les: handle conn/disc/reg logic in the eventloop
* les: try to dial before start eventloop
* les: handle disconnect logic more safely
* les: grammar fix
6 years ago
Viktor Trón
eaff89291c
Merge pull request #17041 from ethersphere/swarm-network-rewrite-merge
...
Swarm POC3 - happy solstice
6 years ago
ethersphere
e187711c65
swarm: network rewrite merge
6 years ago
Andrey Petrov
6209545083
p2p: Wrap conn.flags ops with atomic.Load/Store
6 years ago
Andrey Petrov
193a402cc0
p2p: Test for peer.rw.flags race conditions
6 years ago
Andrey Petrov
dcca66bce8
p2p: Cache inbound flag on Peer.isInbound to avoid a race
6 years ago
Andrey Petrov
399aa710d5
p2p: Attempt to race check peer.Inbound() in TestServerDial
6 years ago
Andrey Petrov
699794d88d
p2p: More tests for AddTrustedPeer/RemoveTrustedPeer
6 years ago
Andrey Petrov
773857a524
p2p: Test for MaxPeers=0 and TrustedPeer override
6 years ago
Andrey Petrov
2a75fe3308
rpc: Add admin_addTrustedPeer and admin_removeTrustedPeer.
...
These RPC calls are analogous to Parity's parity_addReservedPeer and
parity_removeReservedPeer.
They are useful for adjusting the trusted peer set during runtime,
without requiring restarting the server.
6 years ago
Péter Szilágyi
d926bf2c7e
trie: cache collapsed tries node, not rlp blobs ( #16876 )
...
The current trie memory database/cache that we do pruning on stores
trie nodes as binary rlp encoded blobs, and also stores the node
relationships/references for GC purposes. However, most of the trie
nodes (everything apart from a value node) is in essence just a
collection of references.
This PR switches out the RLP encoded trie blobs with the
collapsed-but-not-serialized trie nodes. This permits most of the
references to be recovered from within the node data structure,
avoiding the need to track them a second time (expensive memory wise).
6 years ago
nobody
8db8d074e2
cmd/geth: remove the tail "," from genesis config ( #17028 )
...
remove the tail "," from genesis config, which will cause genesis config parse error .
6 years ago
Husam Ibrahim
1a70338734
mobile: correct comment typo in ethereum.go ( #17040 )
6 years ago
Wenbiao Zheng
61a5976368
accounts: remove deadcode isSigned ( #16990 )
6 years ago
Péter Szilágyi
88c42ab4e7
Merge pull request #16954 from holiman/more_tracers
...
eth/tracers: fix err in 4byte, add some opcode analysis tools
6 years ago
Martin Holst Swende
4210dd1500
tracers: fix err in 4byte, add some opcode analysis tools
6 years ago
ligi
c971ab617d
travis: use NDK 17b for Android archives ( #17029 )
6 years ago
Wenbiao Zheng
f1986f86f2
signer: remove useless errorWrapper ( #17003 )
6 years ago
Husam Ibrahim
28aca90716
accounts/usbwallet: correct comment typo ( #16998 )
6 years ago
Wenbiao Zheng
9b1536b26a
core: remove dead code, limit test code scope ( #17006 )
...
* core: move test util var/func to test file
* core: remove useless func
6 years ago
Husam Ibrahim
3e57c33147
accounts/usbwallet: correct comment typo ( #17008 )
6 years ago
Husam Ibrahim
baa7eb901e
mobile: correct comment typo in geth.go ( #17021 )
6 years ago
Wenbiao Zheng
574378edb5
cmd: remove faucet/puppeth dead code ( #16991 )
...
* cmd/faucet: authGitHub is not used anymore
* cmd/puppeth: remove not used code
6 years ago
Wenbiao Zheng
c95e4a80d1
accounts/keystore: assign schema as const instead of var ( #16985 )
6 years ago
Ryan Schneider
897ea01d5f
internal/debug: use pprof goroutine writer for debug_stacks ( #16892 )
...
* debug: Use pprof goroutine writer in debug.Stacks() to ensure all goroutines are captured.
* Up to 64MB limit, previous code only captured first 1MB of goroutines.
* internal/debug: simplify stacks handler
* fix typo
* fix pointer receiver
6 years ago
Caesar Chad
ec192f18b4
core/asm: correct comments typo ( #16974 )
...
* core/asm/compiler: correct comments typo
core/asm/compiler: correct comments typo
* Correct comments typo
6 years ago
Felix Lange
aa34173f13
common/number: delete unused package ( #16983 )
...
This package was meant to hold an improved 256 bit integer library, but
the effort was abandoned in 2015. AFAIK nothing ever used this package.
Time to say goodbye.
6 years ago
kiel barry
c343f75c26
bmt: fix package documentation comment ( #16909 )
6 years ago
Wenbiao Zheng
52b1d09457
core: reduce nesting in transaction pool code ( #16980 )
6 years ago
williambannas
9402f96597
eth: conform better to the golint standards ( #16783 )
...
* eth: made changes to conform better to the golint standards
* eth: fix comment nit
6 years ago
kiel barry
d0fd8d6fc2
common: all golint warnings removed ( #16852 )
...
* common: all golint warnings removed
* common: fixups
6 years ago
Péter Szilágyi
cfde0b5f52
Merge pull request #16977 from karalabe/go-1.10.3
...
travis, appveyor: update to Go 1.10.3
6 years ago
Péter Szilágyi
de06185fc3
travis, appveyor: update to Go 1.10.3
6 years ago
Jeremy Schlatter
3fb5f3ae11
cmd/utils: fix NetworkId default when -dev is set ( #16833 )
...
Prior to this change, when geth was started with `geth -dev -rpc`,
it would report a network id of `1` in response to the `net_version` RPC
request. But the actual network id it used to verify transactions
was `1337`.
This change causes geth instead respond with `1337` to the `net_version`
RPC when geth is started with `geth -dev -rpc`.
6 years ago
knarfeh
e75d0a6e4c
eth/filters: make filterLogs func more readable ( #16920 )
6 years ago
Martin Holst Swende
947e0afeb3
core/vm: optimize MSTORE and SLOAD ( #16939 )
...
* vm/test: add tests+benchmarks for mstore
* core/vm: less alloc and copying for mstore
* core/vm: less allocs in sload
* vm: check for errors more correctly
6 years ago