Qinxuan Chen
1409ddaf07
change dependencies of `keccak-hash`and `trie-standardmap` ( #111 )
...
* cargo fmt
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
* Revert "cargo fmt"
This reverts commit 529720df1557f42edffe5acf1d24e2b7b4d4da32.
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
* Revert cargo fmt
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2019-04-02 15:30:52 +03:00
Andronik Ordian
26d81fc5ef
bring appveyor back ( #118 )
...
* bring appveyor back
* disable windows on travis
* avoid running tests twice on appveyor, fix target
2019-03-28 17:36:43 +01:00
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
Qinxuan Chen
0ddf13c260
Fix impl-rlp for uint in primitive-types ( #117 )
...
* Fix impl-rlp for uint in primitive-types
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
* Fix impl_uint_rlp
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
* Fix impl_uint_rlp
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2019-03-27 16:00:33 +03:00
Qinxuan Chen
c64e1b52e6
Fix fixed-hash ( #110 )
...
* Fix the problem that the current fixed-hash cannot be defined in constant directly
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
* cargo fmt
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
* Revert "cargo fmt"
This reverts commit 529720df1557f42edffe5acf1d24e2b7b4d4da32.
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2019-03-07 21:17:48 +01:00
Andrew Jones
a31b51ca31
Merge pull request #114 from paritytech/aj-tx-error-chain
...
tx-pool: replace error-chain with vanilla Error impl
2019-03-01 22:06:35 +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
Andronik Ordian
9abaf267d1
Merge pull request #107 from paritytech/fix-deserialize-str
...
fix(serde deser): fix indexing into `str` bug
2019-02-14 15:24:07 +03:00
Andronik Ordian
da55e15f9d
Merge pull request #106 from cheme/use-trie
...
Pull off crates redundant with 'trie' repo.
2019-02-08 12:04:48 +03:00
cheme
a05c677e71
fix(serde deser): remove needless `len` check
...
Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>
2019-02-07 21:44:48 +01:00
cheme
804d450c0a
Update ci to crate removal.
2019-02-07 18:35:40 +01:00
Niklas Adolfsson
7a6ade2937
fix(deser): fix indexing into `str` bug
...
[str](https://doc.rust-lang.org/std/primitive.str.html ) consist of unicode characters which can be between 1-4 bytes
long and indexing assuming that all are 1 byte may panic
2019-02-07 17:32:07 +01:00
cheme
079c55e881
Clean deprecated crate.
2019-02-07 16:20:49 +01:00
cheme
2c99d1edb9
Remove deps to hashdb, memdb, patricia-trie, keccak-hash.
2019-02-07 10:30:26 +01:00
Wei Tang
d9226f795b
Merge pull request #83 from paritytech/dp/chore/fix-plain-hasher-readme
...
Documentation fixes
2019-01-29 18:06:08 +01:00
Wei Tang
f3666e73b0
Merge pull request #104 from bwasty/uint_benchmarks
...
Add uint operator benchmarks
2019-01-29 18:05:00 +01:00
Pierre Krieger
3e0683275c
Merge pull request #102 from bwasty/crypto_ring
...
Update parity-crypto to ring v0.14
2019-01-29 16:42:26 +01:00
Benjamin Wasty
42ca5e0e9c
add uint operator benchmarks ( #82 )
2019-01-26 20:16:52 +01:00
Wei Tang
52401dbe88
Merge pull request #97 from paritytech/sp-more-convert
...
Move `ethereum-types` to `parity-common` repo and more conversion functions for U128
2019-01-26 01:16:17 +01:00
Wei Tang
4d3773d3ac
Update repo url
2019-01-25 20:13:01 +01:00
Wei Tang
12f7a965c8
Add issue number
2019-01-25 20:12:14 +01:00
Wei Tang
4e8182f683
Fix ethereum-types tests
2019-01-25 18:09:51 +01:00
Wei Tang
1b7bd657ae
Merge branch 'master' of https://github.com/paritytech/parity-common into sp-more-convert
2019-01-25 18:07:49 +01:00
Benjamin Wasty
7f92af85c3
readme: remove broken appveyor badge
2019-01-25 17:26:20 +01:00
Benjamin Wasty
810053329e
Update parity-crypto to ring v0.14 ( #99 )
2019-01-25 17:21:00 +01:00
thiolliere
de3329a160
update impl-codec and update primitive-types ( #101 )
...
It is a minor update of primitive-types because it was meants to be in.
Then I publish primitive-types:2.1 and yank 2.0
2019-01-25 12:13:05 +01:00
Bastian Köcher
eeead7a029
Merge pull request #100 from paritytech/gui-new-release-primitive-types
...
primitive types new release
2019-01-25 10:20:19 +01:00
thiolliere
43d9c8105d
primitive types new release
2019-01-24 16:33:06 +01:00
Wei Tang
e4654dc9b9
Use TryFrom trait
2019-01-24 16:30:52 +01:00
Wei Tang
ace89ceacb
Use local path deps
2019-01-24 16:07:29 +01:00
Wei Tang
37e6b4ad07
Deal with remaining merge issues
2019-01-24 16:04:51 +01:00
Wei Tang
1a31056c0a
Merge remote-tracking branch 'primitives/sp-primitive-types' into sp-more-convert
2019-01-24 16:02:49 +01:00
thiolliere
989867a1b4
update parity-codec for primitive types ( #98 )
2019-01-24 16:01:28 +01:00
Wei Tang
4dd9571fff
Update uint to 0.6
2019-01-24 15:54:15 +01:00
Wei Tang
53f3ec9af4
Add more conversion functions for U128
2019-01-16 16:13:29 +01:00
Wei Tang
97e1b5f533
Merge pull request #96 from paritytech/docs/uint0.6.1
...
docs(uint): U128 + version 0.6.1
2019-01-16 14:13:31 +01:00
Wei Tang
cda633e638
fix(grumble): "0.6.1" -> "0.6"
...
Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>
2019-01-16 13:04:13 +01:00
Wei Tang
fa938ee51d
Merge pull request #95 from paritytech/sp-bump-uint
...
Bump primitive-types and uint version
2019-01-16 12:43:34 +01:00
cheme
e388dcfaa6
Initialize a crate for memory related tools ( #89 )
...
Initialize a crate for memory related tools. Mainly heapsize measurement through malloc_size_of traits.
2019-01-16 10:43:43 +01:00
niklasad1
9428d4bea2
docs(uint): U128 + version 0.6.1
2019-01-16 10:40:39 +01:00
Wei Tang
756c608905
Bump primitive-types and uint version
2019-01-15 17:43:35 +01:00
Wei Tang
5b56003075
Merge pull request #92 from paritytech/td-u128
...
Expose U128, add u128 conversions.
2019-01-15 17:41:36 +01:00
Tomasz Drwięga
39c6ee0cf0
Fix for the review.
2019-01-14 11:03:45 +01:00
Tomasz Drwięga
9eba22f43d
More compact.
2019-01-11 14:31:55 +01:00
Tomasz Drwięga
982228f408
Add some tests.
2019-01-11 14:29:51 +01:00