aboutsummaryrefslogtreecommitdiffstats
path: root/les/odr_requests.go
Commit message (Collapse)AuthorAgeFilesLines
* les, light: fix CHT trie retrievals (#16039)Péter Szilágyi2018-02-111-13/+13
| | | | | | | | | | | | * 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
* les, light: LES/2 protocol version (#14970)Felföldi Zsolt2017-10-241-50/+260
| | | | | | | | | | | | | | | | | | 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.
* les: implement request distributor, fix blocking issues (#3660)Felföldi Zsolt2017-03-231-6/+6
| | | | | * les: implement request distributor, fix blocking issues * core: moved header validation before chain mutex lock
* all: update light logs (and a few others) to the new modelPéter Szilágyi2017-03-031-121/+124
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-38/+38
|
* all: fix ineffectual assignments and remove uses of crypto.Sha3Felix Lange2017-01-091-2/+1
| | | | | go get github.com/gordonklaus/ineffassign ineffassign .
* les, light: add block availability check for ODR requestsZsolt Felfoldi2016-12-101-0/+29
|
* all: update license informationFelix Lange2016-11-091-1/+1
|
* les: light client protocol and APIZsolt Felfoldi2016-11-091-0/+325