Andrew Jones
45b4fae70d
Extract `should_replace` from Scoring and supply pooled txs from same sender ( #116 )
...
* Extract ShouldReplace trait and pass to import
* Pass old sender txs into should_replace
* Pass sender txs in with both old and new tx
* Docs and extract replace to separate file
* Fix tests and docs
* Bump version (2.0)
* Copyright 2019
* Borrow Transaction
* Make ShouldReplace immutable
* Tabs
* Fix indentation
* Fix tests compilation
2019-03-28 13:23:59 +00:00
Bastian Köcher
0e1bdb6cdf
Update transaction-pool/src/error.rs
...
Co-Authored-By: ascjones <ascjones@gmail.com>
2019-03-01 22:06:04 +00:00
Andrew Jones
f103a6b184
tx-pool: I think I copied and pasted some spaces from somewhere
2019-03-01 14:29:57 +00:00
Andrew Jones
603d15955d
tx-pool: remove more spaces
2019-03-01 14:19:02 +00:00
Andrew Jones
7d8a77a322
tx-pool: where did those spaces come from
2019-03-01 14:15:21 +00:00
Andrew Jones
07f5176650
tx-pool: make error generic over hash
2019-03-01 13:59:52 +00:00
Andrew Jones
a0ac3f322a
tx-pool: replace error-chain with vanilla error impl
2019-03-01 12:33:23 +00:00
Sergey Pepyakin
6959a8cd07
Merge pull request #68 from paritytech/ser-add-missing-repositories
...
Add missing repository tags
2018-10-01 13:00:19 +01:00
Sergey Pepyakin
27e7337dbf
Add missing repository tags
2018-09-30 19:42:18 +01:00
debris
e7feb90317
bump smallvec to 0.6
2018-09-18 22:22:34 +02:00
Tomasz Drwięga
f295d52175
Fix scoring to favour lower insertion_ids.
2018-08-24 11:56:10 +02:00
David Palm
e3f24b2a11
Use LowerHex to format errors
2018-08-23 12:24:05 +02:00
David Palm
5c7e4d2c6f
Add transaction-pool
2018-08-23 11:34:14 +02:00
David Palm
1f747dc676
Add 'transaction-pool/' from commit 'ce84425376ed09db5519ebca181bef4f15d24dd8'
...
git-subtree-dir: transaction-pool
git-subtree-mainline: 13cae436e4
git-subtree-split: ce84425376
2018-08-23 11:23:59 +02:00