Commit Graph

2240 Commits

Author SHA1 Message Date
Steven Roose c7ec4f171f
network: Move AddrV2Message definition down
So that it is grouped together with the impls.
2020-11-08 13:43:55 +00:00
Dr Maxim Orlovsky d802872310
Improvements to extended keys encoding logic end errors 2020-11-08 13:03:32 +01:00
Dr Maxim Orlovsky 259259eabf
BIP 32 binary encoding functions are extracted from base58 2020-11-08 13:03:32 +01:00
Steven Roose 3f465d56eb
Merge pull request #512 from LNP-BP/psbt/fix-serde-input
Fixing serde impl for PSBT inputs
2020-11-07 17:31:46 +00:00
Dr Maxim Orlovsky b5f0e9e144
Fixing serde impl for PSBT inputs 2020-11-06 17:01:34 +01:00
Andrew Poelstra d3210b39fb
Merge pull request #507 from stevenroose/pubkey-write-result
Change PublicKey::write_into to return Result
2020-11-05 19:21:39 +00:00
Andrew Poelstra 35d729d9f0
Merge pull request #478 from sanket1729/psbt_again
Psbt hash preimages (again)
2020-11-05 17:49:58 +00:00
Andrew Poelstra 8295885e8e
Merge pull request #454 from jrawsthorne/improved-bip158-types
Implement new FilterHeader type to differentiate from FilterHash
2020-11-05 16:46:50 +00:00
Steven Roose 8255e01df0
Merge pull request #449 from jrawsthorne/addrv2
BIP155: AddrV2
2020-10-31 21:27:31 +00:00
Jake Rawsthorne 921f64699c `addrv2` and `sendaddrv2` network message 2020-10-26 21:49:06 +00:00
Jake Rawsthorne cf8e290c99 AddrV2 structures 2020-10-26 21:46:10 +00:00
Andrew Poelstra c16053a265
Merge pull request #446 from jrawsthorne/bip339
BIP339: Add wtxidrelay message and WTx inv type
2020-10-26 20:03:36 +00:00
Andrew Poelstra 93df7cbd3e
Merge pull request #291 from kallewoof/2019-07-signet
add signet support
2020-10-26 19:46:10 +00:00
Andrew Poelstra 46fdee5d88
Merge pull request #506 from stevenroose/avoid-assert
Avoid a few assertions that shouldn't be necessary
2020-10-26 19:32:57 +00:00
Steven Roose e07ee5165a
Bump version to v0.25.2 2020-10-26 15:44:19 +00:00
Steven Roose 76a1a327b8
Merge pull request #502 from rikitau/bip32-example
Add an example for bip32 key derivation
2020-10-25 18:55:48 +00:00
Steven Roose aed4e02e38
Add #![deny(unused_must_use)] to avoid not checking Errs 2020-10-23 21:31:32 +01:00
Steven Roose 9699c622fc
Return Result<(), io::Error> from PublicKey::write_into 2020-10-23 21:31:12 +01:00
Steven Roose 90e1125eff
Remove debug_assert in PublicKey::write_into 2020-10-23 21:28:46 +01:00
Steven Roose 545965d9e3
Change consensus::encode::serialize assert to debug_assert
This is just a sanity check on our own serialization code.
2020-10-23 21:28:17 +01:00
Steven Roose ab9514983b
Add explanation to witness program version assertion 2020-10-23 21:28:16 +01:00
Steven Roose cc095a4ba7
Remove assert in Uint256::from_i64 and return None instead 2020-10-23 21:28:15 +01:00
Steven Roose 5c04a059d5
Change some static assertions to debug_assert 2020-10-23 21:28:13 +01:00
Andrew Poelstra cdb579c101
Merge pull request #491 from apoelstra/2020-10--0.25.1
bump version to 0.25.1
2020-10-20 13:37:31 +00:00
Margarita Kitic 1278e68611 add bip32 example 2020-10-17 10:54:14 +02:00
Andrew Poelstra 47f5c2d797 add 413 (but not 500) to changelog 2020-10-16 20:20:22 +00:00
Andrew Poelstra a46797e70e
Update CHANGELOG.md
Co-authored-by: Dr. Maxim Orlovsky <orlovsky@pandoracore.com>
2020-10-16 20:14:21 +00:00
Andrew Poelstra e7980ac8a5
Merge pull request #413 from stevenroose/message-signature
Add MessageSignature type for dealing with signed messages
2020-10-14 16:30:15 +00:00
Andrew Poelstra 65b52cfe39
Merge pull request #497 from LNP-BP/pending/psbt-serde
PSBT serde implementation
2020-10-14 16:12:35 +00:00
Steven Roose 3f65fb1aed
Don't support signed messages with p2wpkh addresses 2020-10-14 16:54:58 +02:00
Dr Maxim Orlovsky 8e0b9921ae
No space- and case insensitivity for SigHashType string serialization 2020-10-14 16:46:48 +02:00
Dr Maxim Orlovsky 00c3466363
Serde implementation for PSBT 2020-10-14 16:31:24 +02:00
Dr Maxim Orlovsky a4a7035a94
String and serde de/serialization for SigHashType 2020-10-14 16:31:24 +02:00
Steven Roose 084fef0022
Merge pull request #500 from cloudhead/cloudhead/block-filter-derive
BlockFilter `Clone`, `Debug` etc. derives
2020-10-14 15:44:06 +02:00
sanket1729 d3b3ca8b49 Removed Intellij idea files from .gitignore 2020-10-11 21:51:03 -05:00
sanket1729 57b63d4b52 Add tests for psbt hash serde 2020-10-11 21:51:03 -05:00
sanket1729 48151ef204 Added Hash preimages to psbt
Added hash preimages to psbt as per updated bip174
2020-10-11 21:51:02 -05:00
Steven Roose f7422fb8d1
Add MessageSignature type for dealing with signed messages 2020-10-11 22:44:00 +02:00
Alexis Sellier 210ff9edc7
Derive useful traits on `BlockFilter` 2020-10-11 22:31:32 +02:00
Jake Rawsthorne eeb14c4b08 Implement new FilterHeader type to differentiate from FilterHash 2020-10-10 20:38:10 +01:00
Andrew Poelstra 926cff0741
Merge pull request #493 from stevenroose/sighash-no-result
Revert the sighash method signatures
2020-10-09 14:58:03 +00:00
Steven Roose e60bfe2f61
Revert the sighash method signatures
Hash engines don't product I/O errors, so encoding into them
shouldn't produce errors either.
2020-10-09 16:27:38 +02:00
Andrew Poelstra 17e733d85b bump version to 0.25.1 2020-10-09 13:31:46 +00:00
Andrew Poelstra 3618d7a41d
Merge pull request #485 from ipaljak-tbtl/expose-tx-signature-data
Expose serialized data for transaction signatures
2020-10-09 13:24:51 +00:00
Andrew Poelstra fc60a7fc25
Merge pull request #492 from RCasatta/fix_bench_names
fix bench fn names
2020-10-09 13:12:39 +00:00
Steven Roose 5355b36f63
Merge pull request #482 from rust-bitcoin/2020-09-modern
Small modernization after MSRV bump
2020-10-09 13:51:22 +02:00
Riccardo Casatta 9a5291c717 fix bench names 2020-10-08 18:21:30 +02:00
Ivan Paljak e66caab956 Improve error handling, fix forgotten early return 2020-10-08 16:40:30 +02:00
Elichai Turkel eda47c31c9
Remove redundant code / configurations 2020-10-08 17:11:18 +03:00
Elichai Turkel 2d70623356
Remove deprecated Error::description impl 2020-10-08 17:11:18 +03:00