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 |
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 |
Nadav Ivgi
|
f3b5a7187c
|
Add Transaction::get_size()
|
2020-03-23 19:48:41 +02:00 |
Steven Roose
|
826b2e0e2a
|
Export the util::amount::Denomination type
|
2020-02-28 11:51:44 +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 |
Andrew Poelstra
|
a2bfcb5a89
|
Merge pull request #395 from pandoracore/fix-construct_uint
Improving `construct_uint` macro
|
2020-01-24 19:39:32 +00:00 |
Andrew Poelstra
|
659f2edb3b
|
Merge pull request #381 from elichai/2020-01-hex
Remove the hex dependency
|
2020-01-24 19:14:20 +00:00 |
Dr Maxim Orlovsky
|
9c0f4b1a60
|
Fixing namespaces in `impl_hashencode`
|
2020-01-22 13:23:09 +01:00 |
Steven Roose
|
930a6ca1dc
|
Merge pull request #390 from instagibbs/bip143_sighash_notall
Add bip143 sighash support for other flags
|
2020-01-21 23:26:17 +00:00 |
Gregory Sanders
|
d1c5c7b08d
|
Deprecate SigHashComponents
|
2020-01-21 09:50:41 -05:00 |
Gregory Sanders
|
908aff50bc
|
Add bip143 sighash support for other flags
|
2020-01-21 09:50:41 -05:00 |
Dr Maxim Orlovsky
|
f3e762b555
|
Improving `construct_uint` macro
|
2020-01-21 13:16:34 +01:00 |
Elichai Turkel
|
c19b736566
|
Remove the hex dependency
|
2020-01-20 18:50:02 +02:00 |
Elichai Turkel
|
5452260884
|
Merge pull request #392 from instagibbs/wit_scale
Add, use WITNESS_SCALE_FACTOR constant
|
2020-01-20 18:02:59 +02:00 |
Gregory Sanders
|
2916685ca6
|
small Transaction test cleanup
|
2020-01-14 11:14:23 -05:00 |
Gregory Sanders
|
3624ee82c8
|
Use witness scaling constant in get_weight
|
2020-01-14 11:14:23 -05:00 |
Gregory Sanders
|
09c0e7fbde
|
Add WITNESS_SCALE_FACTOR constant
|
2020-01-14 11:14:23 -05:00 |
Steven Roose
|
8e52b8ce4d
|
Remove the BitcoinHash trait
Replaced by a `block_hash` method on both `Block` and `BlockHeader`.
|
2020-01-10 11:34:16 +00:00 |
kiminuo
|
9e223988fa
|
Improve fmt::Debug for network/Address
Original output:
"Address {services: ServiceFlags(9), address: [0, 0, 0, 0, 0, 65535, 2560, 1], port: 8333}"
New output:
* for IPv4: "Address {services: ServiceFlags(NETWORK|WITNESS), address: 10.0.0.1, port: 8333}"
* for IPv6: "Address {services: ServiceFlags(NETWORK_LIMITED), address: fd87:d87e:eb43::ffff:a00:1, port: 8333}"
|
2020-01-07 12:30:47 +01:00 |
Dr Maxim Orlovsky
|
5fc24dea33
|
Multiple fixes for hash types and their computing
Unit test for wtxid and SegWit transactions
|
2020-01-01 13:54:23 +01:00 |
Dr Maxim Orlovsky
|
0abe15b1f6
|
Moving from BitcoinHash to Wtxid for Transactions
|
2020-01-01 13:52:20 +01:00 |
Dr Maxim Orlovsky
|
f5a8087105
|
New hash types: MerkleRoot/Branch, WitnessCommit, SigHash, FilterHash
|
2020-01-01 13:50:17 +01:00 |
Dr Maxim Orlovsky
|
4746ccb88e
|
Final work on Txid and other hashes
Fixing issue with external dependency and hash_newtype macro implementation
Reverting back to the bitcoin_hashes crate after new version release
|
2020-01-01 13:48:28 +01:00 |
Dr Maxim Orlovsky
|
d20ab1dbc4
|
Switching to XpubIdentifier
|
2020-01-01 13:46:44 +01:00 |
Dr Maxim Orlovsky
|
5f4f629bb1
|
Replaced all hash160, sha256 and sha256d with the new hash types throughout the code
Embedding Txid's in the doc exaples
|
2020-01-01 13:44:34 +01:00 |
Dr Maxim Orlovsky
|
5ef39e34fa
|
Implementing (W)Pubkey/ScriptHash and BlockHash
|
2020-01-01 13:42:22 +01:00 |
Dr Maxim Orlovsky
|
ec92a05682
|
New HashTypes defined according to #284 (WIP), Txid is completed
|
2020-01-01 13:41:42 +01:00 |
Steven Roose
|
e2caebc42e
|
Merge pull request #370 from elichai/2019-12-rawmessage
Add a full round test for RawNetworkMessage
|
2019-12-23 12:30:11 +01:00 |
Andrew Poelstra
|
efd2168364
|
Merge pull request #368 from mauzmorose/bip157-service-flag
bip157: Add NODE_COMPACT_FILTERS Service Flag
|
2019-12-22 16:48:16 +00:00 |
Elichai Turkel
|
bc2ba5bb12
|
Add a full round test for RawNetworkMessage
|
2019-12-22 14:01:12 +02:00 |
Sofiane Baltaci
|
8617de51c8
|
Adapt service_flags_test to reflect changes
|
2019-12-21 03:36:47 +01:00 |
Sofiane Baltaci
|
43789b1d5a
|
Add COMPACT_FILTERS service flag to ServiceFlags fmt::Display impl
|
2019-12-21 03:06:03 +01:00 |
Sofiane Baltaci
|
b40d94641d
|
Add bip157 NODE_COMPACT_FILTERS Service Flag
|
2019-12-21 02:39:30 +01:00 |
Sofiane Baltaci
|
2605141ada
|
Fix typo on getcfcheckpt command string
|
2019-12-20 23:47:40 +01:00 |
kiminuo
|
74285738ce
|
Convert numeric representation of ServiceFlags to bitwise OR of the flag names
The changes affect only tests
|
2019-12-12 00:11:13 +01:00 |
Steven Roose
|
0f4f060e8b
|
Merge pull request #363 from kiminuo/feature/remove-old-todos
Remove two old TODO comments [nit]
|
2019-12-11 16:53:20 +00:00 |
Steven Roose
|
024557fe47
|
Merge pull request #357 from stevenroose/command-str
Various optimizations of the network code
|
2019-12-11 15:38:52 +00:00 |