bsc/core/rawdb
Shihao Xia 9e59474e46
core/rawdb: close database in test to avoid goroutine leak (#23287)
* add db close to avoid goroutine leak

* core/rawdb: move close to defer

Co-authored-by: Martin Holst Swende <martin@swende.se>
2021-08-08 15:44:42 +02:00
..
accessors_chain_test.go core/rawdb: close database in test to avoid goroutine leak (#23287) 2021-08-08 15:44:42 +02:00
accessors_chain.go docs: fix docstring on read head block (#22776) 2021-04-29 19:23:07 +02:00
accessors_indexes_test.go core/rawdb: single point of maintenance for writing and deleting tx lookup indexes (#21480) 2020-09-15 10:37:01 +02:00
accessors_indexes.go core/rawdb: fix logs to print block number, not address (#23328) 2021-08-04 11:10:37 +03:00
accessors_metadata.go core, eth, les: implement unclean-shutdown marker (#21893) 2020-12-11 15:56:00 +01:00
accessors_snapshot.go core, eth: abort snapshot generation on snap sync and resume later 2021-04-30 17:03:10 +03:00
accessors_state.go core, eth, les, trie: add a prefix to contract code (#21080) 2020-08-21 15:10:40 +03:00
chain_iterator_test.go core/rawdb: fix transaction indexing/unindexing hashing error (#22457) 2021-03-16 12:15:14 +02:00
chain_iterator.go core/rawdb: fix transaction indexing/unindexing hashing error (#22457) 2021-03-16 12:15:14 +02:00
database_test.go eth/protocols/snap: generate storage trie from full dirty snap data (#22668) 2021-04-27 17:19:59 +03:00
database.go core/rawdb: db inspect move 'config' and 'shutdown' into 'meta data' (#22978) 2021-06-08 11:39:24 +03:00
freezer_table_test.go core/rawdb: fix datarace in freezer (#22728) 2021-04-26 18:19:07 +02:00
freezer_table.go core/rawdb: fix datarace in freezer (#22728) 2021-04-26 18:19:07 +02:00
freezer.go core/rawdb: wait for background freezing to exit when closing freezer (#22878) 2021-05-18 01:30:01 +02:00
schema.go core, eth: abort snapshot generation on snap sync and resume later 2021-04-30 17:03:10 +03:00
table_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
table.go core/rawdb: handle prefix in table.compact method (#22911) 2021-05-21 10:33:59 +02:00