aboutsummaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2018-10-08 21:52:23 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-10-08 21:52:23 +0800
commitc5d34fc94eb3a8ce10c80d9a83e0e479d2dd654c (patch)
treef67c67d35af3f434c8bb2d7726f36a029605470a /light
parent53634f1e04a7ff020fbdeb71f48dbcf33d530125 (diff)
downloaddexon-c5d34fc94eb3a8ce10c80d9a83e0e479d2dd654c.tar
dexon-c5d34fc94eb3a8ce10c80d9a83e0e479d2dd654c.tar.gz
dexon-c5d34fc94eb3a8ce10c80d9a83e0e479d2dd654c.tar.bz2
dexon-c5d34fc94eb3a8ce10c80d9a83e0e479d2dd654c.tar.lz
dexon-c5d34fc94eb3a8ce10c80d9a83e0e479d2dd654c.tar.xz
dexon-c5d34fc94eb3a8ce10c80d9a83e0e479d2dd654c.tar.zst
dexon-c5d34fc94eb3a8ce10c80d9a83e0e479d2dd654c.zip
les, light: reduce les testing stress (#17867)
Diffstat (limited to 'light')
-rw-r--r--light/postprocess.go28
1 files changed, 14 insertions, 14 deletions
diff --git a/light/postprocess.go b/light/postprocess.go
index 2f8cb73ab..1cfd7535e 100644
--- a/light/postprocess.go
+++ b/light/postprocess.go
@@ -84,23 +84,23 @@ var (
}
// TestServerIndexerConfig wraps a set of configs as a test indexer config for server side.
TestServerIndexerConfig = &IndexerConfig{
- ChtSize: 256,
- PairChtSize: 2048,
- ChtConfirms: 16,
- BloomSize: 256,
- BloomConfirms: 16,
- BloomTrieSize: 2048,
- BloomTrieConfirms: 16,
+ ChtSize: 64,
+ PairChtSize: 512,
+ ChtConfirms: 4,
+ BloomSize: 64,
+ BloomConfirms: 4,
+ BloomTrieSize: 512,
+ BloomTrieConfirms: 4,
}
// TestClientIndexerConfig wraps a set of configs as a test indexer config for client side.
TestClientIndexerConfig = &IndexerConfig{
- ChtSize: 2048,
- PairChtSize: 256,
- ChtConfirms: 128,
- BloomSize: 2048,
- BloomConfirms: 128,
- BloomTrieSize: 2048,
- BloomTrieConfirms: 128,
+ ChtSize: 512,
+ PairChtSize: 64,
+ ChtConfirms: 32,
+ BloomSize: 512,
+ BloomConfirms: 32,
+ BloomTrieSize: 512,
+ BloomTrieConfirms: 32,
}
)