aboutsummaryrefslogtreecommitdiffstats
path: root/les/handler_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-04-091-13/+13
|
* all: make indexer configurable (#17188)gary rong2018-08-281-87/+92
|
* all: get rid of error when creating memory database (#16716)gary rong2018-05-091-11/+8
| | | | | | | | * all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition
* core/rawdb: separate raw database access to own package (#16666)Péter Szilágyi2018-05-071-4/+5
|
* les, light: fix CHT trie retrievals (#16039)Péter Szilágyi2018-02-111-41/+117
| | | | | | | | | | | | * 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
* core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-061-1/+1
| | | This commit reduces database I/O by not writing every state trie to disk.
* les: fix TxStatusMsg RLP coding (#15974)Felföldi Zsolt2018-01-271-1/+1
|
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-031-4/+4
|
* accounts, consensus, core, eth: make chain maker consensus agnostic (#15497)gary rong2017-12-221-2/+3
| | | | | | | | | | * accounts, consensus, core, eth: make chain maker consensus agnostic * consensus, core: move CalcDifficulty to Engine interface * consensus: add docs for calcDifficulty function * consensus, core: minor comment fixups
* les: use modified default txpool config to avoid creating journal filerjl4934564422017-11-211-1/+3
|
* core, eth, les: fix messy code (#15367)Péter Szilágyi2017-10-251-18/+29
| | | | | | | | * core, eth, les: fix messy code * les: fixed tx status test and rlp encoding * core: add a workaround for light sync
* les, light: LES/2 protocol version (#14970)Felföldi Zsolt2017-10-241-8/+154
| | | | | | | | | | | | | | | | | | 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: fix megacheck warnings (#14941)Felföldi Zsolt2017-08-091-2/+2
| | | | | | * les: fix megacheck warnings * les: fixed testGetProofs
* les: code refactoring (#14416)Felföldi Zsolt2017-06-211-5/+11
| | | | | | | | | | | | This commit does various code refactorings: - generalizes and moves the request retrieval/timeout/resend logic out of LesOdr (will be used by a subsequent PR) - reworks the peer management logic so that all services can register with peerSet to get notified about added/dropped peers (also gets rid of the ugly getAllPeers callback in requestDistributor) - moves peerSet, LesOdr, requestDistributor and retrieveManager initialization out of ProtocolManager because I believe they do not really belong there and the whole init process was ugly and ad-hoc
* all: gofmt -w -sFelix Lange2017-01-061-7/+7
|
* all: update license informationFelix Lange2016-11-091-0/+16
|
* les: light client protocol and APIZsolt Felfoldi2016-11-091-0/+322