aboutsummaryrefslogtreecommitdiffstats
path: root/eth/filters
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-19 20:29:19 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-03-09 16:33:39 +0800
commite90958cd29a228b051faeaa25d66e053cf9d2228 (patch)
treedd7dd52d31628375ead8a06e681441102faf9037 /eth/filters
parent05c86c2c9fa14ea03fdc5d0cd77cdecc34e4f164 (diff)
downloadgo-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.gz
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.tar.zst
go-tangerine-e90958cd29a228b051faeaa25d66e053cf9d2228.zip
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
Diffstat (limited to 'eth/filters')
-rw-r--r--eth/filters/filter_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/filters/filter_test.go b/eth/filters/filter_test.go
index 5772114b3..b98945bbd 100644
--- a/eth/filters/filter_test.go
+++ b/eth/filters/filter_test.go
@@ -31,7 +31,7 @@ func BenchmarkMipmaps(b *testing.B) {
defer os.RemoveAll(dir)
var (
- db, _ = ethdb.NewLDBDatabase(dir, 16)
+ db, _ = ethdb.NewLDBDatabase(dir, 0, 0)
key1, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
addr1 = crypto.PubkeyToAddress(key1.PublicKey)
addr2 = common.BytesToAddress([]byte("jeff"))
@@ -105,7 +105,7 @@ func TestFilters(t *testing.T) {
defer os.RemoveAll(dir)
var (
- db, _ = ethdb.NewLDBDatabase(dir, 16)
+ db, _ = ethdb.NewLDBDatabase(dir, 0, 0)
key1, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")
addr = crypto.PubkeyToAddress(key1.PublicKey)