aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/upload_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2018-11-07 22:07:43 +0800
committerGitHub <noreply@github.com>2018-11-07 22:07:43 +0800
commit0bcff8f52505fa1eece6c8fbfc5cab8aa9d9ed5d (patch)
tree58ca06c4e7a74b586214b62d879101bc98d970e3 /cmd/swarm/upload_test.go
parent36ca85fa1c2936087b2c3d976d3576f0f5d2157e (diff)
downloadgo-tangerine-0bcff8f52505fa1eece6c8fbfc5cab8aa9d9ed5d.tar
go-tangerine-0bcff8f52505fa1eece6c8fbfc5cab8aa9d9ed5d.tar.gz
go-tangerine-0bcff8f52505fa1eece6c8fbfc5cab8aa9d9ed5d.tar.bz2
go-tangerine-0bcff8f52505fa1eece6c8fbfc5cab8aa9d9ed5d.tar.lz
go-tangerine-0bcff8f52505fa1eece6c8fbfc5cab8aa9d9ed5d.tar.xz
go-tangerine-0bcff8f52505fa1eece6c8fbfc5cab8aa9d9ed5d.tar.zst
go-tangerine-0bcff8f52505fa1eece6c8fbfc5cab8aa9d9ed5d.zip
eth/downloader: speed up tests by generating chain only once (#17916)
* core: speed up GenerateChain Use a mock implementation of ChainReader instead of creating and destroying a BlockChain object for each generated block. * eth/downloader: speed up tests by generating chain only once This change reworks the downloader tests so they share a common test blockchain instead of generating a chain in every test. The tests are roughly twice as fast now.
Diffstat (limited to 'cmd/swarm/upload_test.go')
0 files changed, 0 insertions, 0 deletions