aboutsummaryrefslogtreecommitdiffstats
path: root/light/odr_util.go
Commit message (Collapse)AuthorAgeFilesLines
* core/rawdb: separate raw database access to own package (#16666)Péter Szilágyi2018-05-071-16/+17
|
* core: check transaction/receipt count match when reconstructing blocks (#16272)Kyuntae Ethan Kim2018-03-071-1/+3
|
* eth, les, light: filter on logs only, derive receipts on demandPéter Szilágyi2018-02-231-6/+39
|
* les, light: fix CHT trie retrievals (#16039)Péter Szilágyi2018-02-111-2/+2
| | | | | | | | | | | | * les, light: fix CHT trie retrievals * les, light: minor polishes, test remote CHT retrievals * les, light: deterministic nodeset rlp, bloombits test skeleton * les: add an event emission to the les bloombits test * les: drop dead tester code
* eth, light: minor light client startup cleanupsPéter Szilágyi2018-02-081-4/+1
|
* les, light: LES/2 protocol version (#14970)Felföldi Zsolt2017-10-241-43/+78
| | | | | | | | | | | | | | | | | | This PR implements the new LES protocol version extensions: * new and more efficient Merkle proofs reply format (when replying to a multiple Merkle proofs request, we just send a single set of trie nodes containing all necessary nodes) * BBT (BloomBitsTrie) works similarly to the existing CHT and contains the bloombits search data to speed up log searches * GetTxStatusMsg returns the inclusion position or the pending/queued/unknown state of a transaction referenced by hash * an optional signature of new block data (number/hash/td) can be included in AnnounceMsg to provide an option for "very light clients" (mobile/embedded devices) to skip expensive Ethash check and accept multiple signatures of somewhat trusted servers (still a lot better than trusting a single server completely and retrieving everything through RPC). The new client mode is not implemented in this PR, just the protocol extension.
* core/state: access trie through Database interface, track errors (#14589)Felix Lange2017-06-271-19/+0
| | | | | | | | | With this commit, core/state's access to the underlying key/value database is mediated through an interface. Database errors are tracked in StateDB and returned by CommitTo or the new Error method. Motivation for this change: We can remove the light client's duplicated copy of core/state. The light client now supports node iteration, so tracing and storage enumeration can work with the light client (not implemented in this commit).
* all: import "context" instead of "golang.org/x/net/context"Felix Lange2017-03-231-1/+1
| | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context.
* all: update light logs (and a few others) to the new modelPéter Szilágyi2017-03-031-5/+1
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-3/+3
|
* les, light: add block availability check for ODR requestsZsolt Felfoldi2016-12-101-2/+3
|
* all: update license informationFelix Lange2016-11-091-1/+2
|
* light: light chain, VM env and tx poolZsolt Felfoldi2016-11-091-0/+185