Elichai Turkel
|
c20d356d7e
|
Use the remainder from div_rem instead of recomputing it
|
2020-07-22 12:39:32 +03:00 |
Steven Roose
|
1d5b8dabfe
|
Merge pull request #435 from LNP-BP/feat-u256rem
Modulo division operation for Uint128 & Uint256 types
|
2020-07-22 10:39:13 +02:00 |
Dr Maxim Orlovsky
|
19f88212af
|
Fuzz tests for u128 modulo division
|
2020-07-21 14:54:56 +02:00 |
Dr Maxim Orlovsky
|
7588b211ff
|
Adding Rem op (%) to Uint128 & Uint256 types
|
2020-07-21 14:37:21 +02:00 |
Alexis Sellier
|
9cb5d2e711
|
Link type in rustdoc
|
2020-07-09 21:17:02 +02:00 |
Alexis Sellier
|
e8cecfe1d3
|
Add `BlockHeader::u256_from_compact_target` function
This implements the counterparty to BlockHeader::compact_target_from_u256,
to convert a compact u32 to a Uint256.
|
2020-07-09 21:17:02 +02:00 |
Elichai Turkel
|
8a40c7b51a
|
Merge pull request #432 from taoweicn/patch-1
Remove duplicate code
|
2020-07-02 11:56:56 +03:00 |
Andrew Poelstra
|
4af18729b0
|
Merge pull request #431 from sgeisler/2020-06-01-ruy-compat
Fix ruy rust 1.22 inccompatibility
|
2020-06-29 12:51:17 +00:00 |
Sebastian Geisler
|
139fc02592
|
Fix #430: ruy rust 1.22 inccompatibility
|
2020-06-04 22:05:16 +02:00 |
Tao Wei
|
ed76e0823b
|
Remove duplicate code
Duplicated with L38
|
2020-06-03 17:17:13 +08:00 |
Elichai Turkel
|
f4e26caa94
|
Merge pull request #415 from shesek/merkleblock-txids
Allow to construct MerkleBlock using the header and txids
|
2020-05-24 16:32:17 +03:00 |
Andrew Poelstra
|
7efde3ae47
|
Merge pull request #419 from elichai/2020-03-description
Deprecate Error::description
|
2020-05-23 17:26:38 +00:00 |
Andrew Poelstra
|
31a576020b
|
Merge pull request #425 from TheBlueMatt/2020-04-uint-fuzz
Add fuzz target comparing native u128 to our Uint type
|
2020-05-21 23:17:35 +00:00 |
Elichai Turkel
|
1c88be4df5
|
Merge pull request #422 from rust-bitcoin/2020-04-remove-alloc
Remove some needless allocations
|
2020-05-19 13:20:34 +03:00 |
Elichai Turkel
|
af31017eb1
|
Remove the cursor overhead, write is implemented on vec these days
|
2020-05-19 12:57:39 +03:00 |
Andrew Poelstra
|
c44bad87b2
|
Merge pull request #424 from jrawsthorne/wtxid-inv
Fix: Change WitnessTransaction inv type to use txid
|
2020-05-14 13:51:16 +00:00 |
Matt Corallo
|
604f1aa56e
|
Add fuzz target comparing native u128 to our Uint type
|
2020-04-30 19:22:49 -04:00 |
Steven Roose
|
a9173d61d3
|
Merge pull request #375 from canndrew/fix-serde-struct-macros
Fix serde struct macros deserialization impls
|
2020-04-19 19:56:27 +01:00 |
Jake Rawsthorne
|
81c061a68c
|
Change WitnessTransaction inv type to use txid
|
2020-04-14 14:11:44 +01:00 |
Elichai Turkel
|
654232a3dc
|
Deprecate Error::description
|
2020-04-13 02:15:28 +03:00 |
Elichai Turkel
|
25cb3d3539
|
Remove alloc when hashing for Bitcoin message signing format
|
2020-04-12 19:04:13 +03:00 |
Elichai Turkel
|
41e4471721
|
Remove alloc when hashing sighash
|
2020-04-12 19:04:12 +03:00 |
Andrew Poelstra
|
c3a7d1b27c
|
Merge pull request #417 from shesek/202003-block-size-weight
Add Block::get_size() and Block::get_weight()
|
2020-04-07 14:12:15 +00:00 |
Andrew Poelstra
|
8d859cf54c
|
Merge pull request #308 from elichai/2019-08-clippy
Cargo clippy changes
|
2020-04-05 16:26:07 +00:00 |
Elichai Turkel
|
a627457032
|
Merge pull request #412 from stevenroose/export-denom
Export the util::amount::Denomination type
|
2020-04-05 10:56:57 +03:00 |
Andrew Poelstra
|
78183a31e2
|
Merge pull request #411 from tnull/handshake_example
Added a simple handshake example.
|
2020-04-04 21:34:57 +00:00 |
Elichai Turkel
|
2cc88a99aa
|
Removed PartialEq,PartialOrd impls, shouldn't be manually impl when Hash is derived
|
2020-03-29 17:15:15 +03:00 |
Elichai Turkel
|
a473d01b17
|
Made some idiomatic changes
|
2020-03-29 17:15:15 +03:00 |
Elichai Turkel
|
3f2d428706
|
Remove needless references
|
2020-03-29 17:15:14 +03:00 |
Elichai Turkel
|
16eb81e1f7
|
Replaced slow vec initialization, and dual calls to hashmap
|
2020-03-29 17:10:27 +03:00 |
Nadav Ivgi
|
94032f6817
|
Add Block::get_size() and Block::get_weight()
|
2020-03-27 21:54:46 +03:00 |
Steven Roose
|
a148e06736
|
Merge pull request #416 from shesek/202003-tx-size
Add Transaction::get_size()
|
2020-03-25 16:18:23 +00:00 |
Nadav Ivgi
|
f3b5a7187c
|
Add Transaction::get_size()
|
2020-03-23 19:48:41 +02:00 |
Nadav Ivgi
|
65efc5cd37
|
Allow to construct MerkleBlock using the header and txids
Co-Authored-By: Elichai Turkel <elichai.turkel@gmail.com>
|
2020-03-21 18:23:08 +02:00 |
Elias Rohrer
|
827d98d821
|
Fixed for rust 1.22.0.
|
2020-03-03 12:18:37 +01:00 |
Elias Rohrer
|
aa46618da7
|
Intialize stream reader only once.
|
2020-03-03 10:48:01 +01:00 |
Elias Rohrer
|
40431f3d4f
|
Formatted.
|
2020-03-03 10:48:01 +01:00 |
Elias Rohrer
|
b5f5abe0b4
|
Removed pre-configured IP, now takes IP as argument.
|
2020-03-03 10:48:01 +01:00 |
Elias Rohrer
|
62f5f8e3f9
|
Removed explicit dependency on rand.
|
2020-03-03 10:48:01 +01:00 |
Elias Rohrer
|
2852083ff3
|
Using write_all().
|
2020-03-03 10:48:01 +01:00 |
Elias Rohrer
|
c4f0056856
|
No clone needed.
|
2020-03-03 10:48:01 +01:00 |
Elias Rohrer
|
9d212da0ba
|
Added a simple handshake example.
|
2020-03-03 10:48:01 +01:00 |
Steven Roose
|
826b2e0e2a
|
Export the util::amount::Denomination type
|
2020-02-28 11:51:44 +00:00 |
Steven Roose
|
9cff794a09
|
Merge pull request #399 from elichai/2020-01-tests
Add tests based on mutagen outputs
|
2020-02-24 19:29:19 +00:00 |
Elichai Turkel
|
07b30c7fac
|
Mutation testing: amount: Added tests to fix mutation misses
|
2020-02-23 15:59:26 +02:00 |
Elichai Turkel
|
ab6e20c87e
|
Fix an overflow bug in SignedAmount to_string/fmt
|
2020-02-23 15:59:26 +02:00 |
Elichai Turkel
|
abc70781e7
|
Fix a logic problem in base58 (isn't a real bug)
|
2020-02-23 15:59:26 +02:00 |
Elichai Turkel
|
1d01262d5c
|
Mutation testing: base58: Added tests to "fix" mutation misses
|
2020-02-23 15:59:26 +02:00 |
Elichai Turkel
|
5d276caf95
|
Mutation testing: encode: Added tests to "fix" mutation misses
|
2020-02-23 15:59:26 +02:00 |
Elichai Turkel
|
eb7369b1db
|
Simlify consensus_encode vectors
|
2020-02-23 15:59:23 +02:00 |