<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go-tangerine/ethdb/database.go, branch v1.8.1</title>
<subtitle>Tangerine full node (https://github.com/tangerine-network/go-tangerine)
</subtitle>
<id>https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/atom?h=v1.8.1</id>
<link rel='self' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/atom?h=v1.8.1'/>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/'/>
<updated>2018-01-30T17:12:28+00:00</updated>
<entry>
<title>ethdb: reset the batch size too on reset</title>
<updated>2018-01-30T17:12:28+00:00</updated>
<author>
<name>Péter Szilágyi</name>
<email>peterke@gmail.com</email>
</author>
<published>2018-01-30T17:12:28+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=3e89b80ccb1110c04f4db7b8201c9c6d27b824c4'/>
<id>urn:sha1:3e89b80ccb1110c04f4db7b8201c9c6d27b824c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>core, ethdb: reuse database batches (#15989)</title>
<updated>2018-01-30T17:03:31+00:00</updated>
<author>
<name>Martin Holst Swende</name>
<email>martin@swende.se</email>
</author>
<published>2018-01-30T17:03:31+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=017b9f7eacd1048661b22b7892caf680deb2b548'/>
<id>urn:sha1:017b9f7eacd1048661b22b7892caf680deb2b548</id>
<content type='text'>
* leveldb: Update leveldb to 211f780 (poolfix)

* core, ethdb: reuse database batches
</content>
</entry>
<entry>
<title>core, eth/downloader: commit block data using batches (#15115)</title>
<updated>2017-09-09T16:03:07+00:00</updated>
<author>
<name>Felix Lange</name>
<email>fjl@users.noreply.github.com</email>
</author>
<published>2017-09-09T16:03:07+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=10181b57a9fb648f5fd424ca611820a3cf42c42b'/>
<id>urn:sha1:10181b57a9fb648f5fd424ca611820a3cf42c42b</id>
<content type='text'>
* ethdb: add Putter interface and Has method

* ethdb: improve docs and add IdealBatchSize

* ethdb: remove memory batch lock

Batches are not safe for concurrent use.

* core: use ethdb.Putter for Write* functions

This covers the easy cases.

* core/state: simplify StateSync

* trie: optimize local node check

* ethdb: add ValueSize to Batch

* core: optimize HasHeader check

This avoids one random database read get the block number. For many uses
of HasHeader, the expectation is that it's actually there. Using Has
avoids a load + decode of the value.

* core: write fast sync block data in batches

Collect writes into batches up to the ideal size instead of issuing many
small, concurrent writes.

* eth/downloader: commit larger state batches

Collect nodes into a batch up to the ideal size instead of committing
whenever a node is received.

* core: optimize HasBlock check

This avoids a random database read to get the number.

* core: use numberCache in HasHeader

numberCache has higher capacity, increasing the odds of finding the
header without a database lookup.

* core: write imported block data using a batch

Restore batch writes of state and add blocks, tx entries, receipts to
the same batch. The change also simplifies the miner.

This commit also removes posting of logs when a forked block is imported.

* core: fix DB write error handling

* ethdb: use RLock for Has

* core: fix HasBlock comment
</content>
</entry>
<entry>
<title>Logger updates 3 (#3730)</title>
<updated>2017-03-02T13:06:16+00:00</updated>
<author>
<name>Péter Szilágyi</name>
<email>peterke@gmail.com</email>
</author>
<published>2017-03-02T13:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=9184249b393e4e332ae6a2f5d774880a88a9bfd6'/>
<id>urn:sha1:9184249b393e4e332ae6a2f5d774880a88a9bfd6</id>
<content type='text'>
* accounts, cmd, eth, ethdb: port logs over to new system

* ethdb: drop concept of cache distribution between dbs

* eth: fix some log nitpicks to make them nicer
</content>
</entry>
<entry>
<title>all: blidly swap out glog to our log15, logs need rework</title>
<updated>2017-02-23T10:16:44+00:00</updated>
<author>
<name>Péter Szilágyi</name>
<email>peterke@gmail.com</email>
</author>
<published>2017-02-22T12:10:07+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=d4fd06c3dc6cd6d2dbd2bfebfee5bcb46a504851'/>
<id>urn:sha1:d4fd06c3dc6cd6d2dbd2bfebfee5bcb46a504851</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ethdb: Implement interface for prefixed operations to the DB (#3536)</title>
<updated>2017-01-11T12:26:09+00:00</updated>
<author>
<name>Nick Johnson</name>
<email>arachnid@notdot.net</email>
</author>
<published>2017-01-11T12:26:09+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=d30d7800e01def081a5f2e37846f17ae0d5c6910'/>
<id>urn:sha1:d30d7800e01def081a5f2e37846f17ae0d5c6910</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmd, eth: added light client and light server modes</title>
<updated>2016-11-09T01:12:53+00:00</updated>
<author>
<name>zsfelfoldi</name>
<email>zsfelfoldi@gmail.com</email>
</author>
<published>2016-01-13T18:35:48+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=7db7109a5b53c339f00e9c05ac826b3dbd1f98e1'/>
<id>urn:sha1:7db7109a5b53c339f00e9c05ac826b3dbd1f98e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #2914 from fjl/node-coinhabit</title>
<updated>2016-09-29T12:24:37+00:00</updated>
<author>
<name>Felix Lange</name>
<email>fjl@twurst.com</email>
</author>
<published>2016-09-29T12:24:37+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=44bc2e80ddf82ea2a37c25e7beb0ca06b46b7308'/>
<id>urn:sha1:44bc2e80ddf82ea2a37c25e7beb0ca06b46b7308</id>
<content type='text'>
cmd/utils, node: make datadir reusable for bzzd</content>
</entry>
<entry>
<title>core, eth, trie: reuse trie journals in all our code</title>
<updated>2016-09-28T08:27:31+00:00</updated>
<author>
<name>Péter Szilágyi</name>
<email>peterke@gmail.com</email>
</author>
<published>2016-09-27T10:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=710435b51b97b4c688b70bda35ab9d1aa704a988'/>
<id>urn:sha1:710435b51b97b4c688b70bda35ab9d1aa704a988</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ethdb: add accessor for database directory</title>
<updated>2016-09-16T13:24:31+00:00</updated>
<author>
<name>Felix Lange</name>
<email>fjl@twurst.com</email>
</author>
<published>2016-09-05T22:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://lant.com.tw/~lantw44/cgit/cgit.cgi/go-tangerine/commit/?id=52ede09b172094f8fd85f8b10e7d0578059353fb'/>
<id>urn:sha1:52ede09b172094f8fd85f8b10e7d0578059353fb</id>
<content type='text'>
</content>
</entry>
</feed>
