Commit Graph
17 Commits
Author SHA1 Message Date
Svyatoslav Nikolsky 7fa337afbc Light friendly storage tracking: changes trie + extending over ranges (#628)
* changes_trie

* changs_trie: continue

* changes_trie: adding tests

* fixed TODO

* removed obsolete ExtrinsicChanges

* encodable ChangesTrieConfiguration

* removed polkadot fle

* fixed grumbles

* ext_storage_changes_root returns u32

* moved changes trie root to digest

* removed commented code

* read storage values from native code

* fixed grumbles

* fixed grumbles

* missing comma
2018-09-18 09:14:41 +02:00
Svyatoslav Nikolsky 0e1023ae42 DigestItem trait (v3) (#687)
* DigestItem v4

* tests

* wording
2018-09-10 18:34:51 +02:00
Svyatoslav Nikolsky be7cb74b06 DigestItem trait (v2) (#650)
* DigestItem trait

* removed autoimpl in impl_outer_log

* StubDigestItem -> ()
2018-09-05 13:36:23 +02:00
Svyatoslav Nikolsky 951fbd1f3b limit retry count in OnDemand (#513) 2018-09-05 11:43:39 +02:00
Svyatoslav Nikolsky 8eb4589ca6 Replace old headers with CHT in light clients (#512)
* storage proofs

* CHT
2018-09-04 21:57:55 +02:00
Svyatoslav Nikolsky c346af29e0 Fetching storage proofs by light client (#252)
* storage proofs

* fixed grumbles

* Update lib.rs
2018-08-12 12:48:40 +02:00
Svyatoslav Nikolsky 859a420ae9 DB-based blockchain data cache for light nodes (#251)
* use db in light clients

* fixed comment

* fixed grumbles

* blockchain data cache

* fixed grumbles

* fix compilation

* keep the last entry in the cache

* fixed grumbles

* fixed reporting of pruned entries
2018-07-29 12:21:18 +01:00
Svyatoslav Nikolsky 4491a9fac5 Do not queue empty blocks set for import (#431)
* do not queue empty blocks set for import

* fixed grumbles
2018-07-27 16:09:31 +02:00
Svyatoslav Nikolsky 7b8463aaf1 explicit stop of AsyncImportThread (#360) 2018-07-18 12:06:50 +02:00
Svyatoslav Nikolsky 91cb0fcfef fixed AsyncImportQueue drop deadlock (#342) 2018-07-17 10:09:18 +02:00
Svyatoslav Nikolsky f775b38828 Fix light sync deadlock (blocks import queue) (#260)
* fix light sync deadlock

* some more docs
2018-07-16 19:04:27 +02:00
Svyatoslav Nikolsky 1aa7cb680d DB-based light client backend (#250)
* use db in light clients

* fixed comment

* fixed grumbles
2018-06-29 16:10:10 +02:00
Svyatoslav Nikolsky 2d99855ef7 Relaying tx/blocks by light clients (#190)
* do not import external transactions into light tx pool

* do not announce blocks on light clients

* blocks_are_not_announced_by_light_nodes
2018-06-21 16:42:01 +02:00
Svyatoslav Nikolsky 3d0bd2ce62 Trie-based execution proof (#177)
* TrieBasedBackend

* trie tests

* redunant return_value removed

* use Trie::get_with to record trie proofs
2018-06-21 15:23:48 +02:00
Svyatoslav Nikolsky 58ba901ccc Preparing light client structure [v2] (#150)
* light client structure + remote call requests
2018-05-28 10:27:59 +03:00
Svyatoslav Nikolsky 6280f84716 node-key cli option (#149) 2018-05-09 12:06:59 +02:00
Svyatoslav Nikolsky 3a340b3aa2 Merge pull request #1 from paritytech/td-cli
Polkadot CLI and logging initialization.
2017-11-10 15:13:30 +03:00