Steven Roose
|
5fd92d1c09
|
psbt: Serialize maps with byte values using hex
|
2020-12-30 16:32:52 +01:00 |
Steven Roose
|
a05f8feec6
|
serde_util: Rename the btreemap module to btreemap_as_seq
So that we can later distinguish other modules over maps.
|
2020-12-30 16:32:52 +01:00 |
Steven Roose
|
a9c13272a0
|
psbt: Fix serde for maps with non-string keys and binary values
|
2020-12-30 16:32:52 +01:00 |
Steven Roose
|
e5f3bca2b4
|
Add serde_utils module to fix JSON serialization
|
2020-12-30 16:32:52 +01:00 |
Steven Roose
|
cdedb0a9d5
|
psbt::raw: Use hex::format_hex to format the raw key bytes
|
2020-12-30 16:32:52 +01:00 |
Steven Roose
|
94b7371424
|
Replace serde_struct_impl with derive-based impls
|
2020-12-30 16:32:52 +01:00 |
Steven Roose
|
d527a2c2cf
|
Remove the impl_array_newtype_show macro
Instead, implement Debug in impl_bytes_newtype.
|
2020-12-30 16:32:52 +01:00 |
Andrew Poelstra
|
1cc466fec6
|
Merge pull request #498 from LNP-BP/pending/derivation
Derivation path improvements, closes #473
|
2020-12-28 00:53:25 +00:00 |
Dr Maxim Orlovsky
|
7400bccb60
|
PSBT: proprietary keys type system according to BIP 174
|
2020-12-21 12:22:35 +01:00 |
Dr Maxim Orlovsky
|
c3024c3ebb
|
PSBT: basic support for proprietary keys
|
2020-12-21 12:17:07 +01:00 |
Dr Maxim Orlovsky
|
44ffddab8c
|
Impl IntoDerivationPath for string types
|
2020-12-20 23:39:01 +01:00 |
Dr Maxim Orlovsky
|
f9290438cd
|
DerivationPath improvements
Adding IntoDerivationPath trait
DerivationPath is_master function
DerivationPath constructor for empty path + Default impl
|
2020-12-20 23:39:01 +01:00 |
Dr Maxim Orlovsky
|
7f5c2795d6
|
PSBT global xpub merging algorithm reworked
|
2020-12-20 11:41:24 +01:00 |
Dr Maxim Orlovsky
|
b84faa7f5e
|
PSBT: Improved global keys version and xpub handling
|
2020-12-16 16:46:28 +01:00 |
Dr Maxim Orlovsky
|
21c11e3315
|
BSPT: Improving global xpub merging algorithm
|
2020-12-16 16:39:46 +01:00 |
Dr Maxim Orlovsky
|
8b1666295c
|
Nits in new PSBT global types reviews
|
2020-12-15 16:04:02 +01:00 |
Dr Maxim Orlovsky
|
0235abfac2
|
Improving PSBT merge with dedicated 1.29 rustc borrow scope
|
2020-12-15 15:50:18 +01:00 |
Dr Maxim Orlovsky
|
df8635c5fe
|
PSBT: Key pair serialization for new global keys
Conflicts:
src/util/psbt/map/global.rs
|
2020-12-15 15:50:18 +01:00 |
Dr Maxim Orlovsky
|
2f838218a8
|
PSBT: merging new global keys
Plus necessary changes to BIP 32 implementations and error type
|
2020-12-15 15:47:37 +01:00 |
Dr Maxim Orlovsky
|
af61d7e7bc
|
PSBT: adding global types (version, xpub)
|
2020-12-15 15:47:37 +01:00 |
Steven Roose
|
6df16b7ce2
|
Merge pull request #530 from LNP-BP/psbt/constants
PSBT types are now constants
|
2020-12-15 14:45:52 +00:00 |
Steven Roose
|
874ab8eca6
|
Make signed message prefix a public constant
|
2020-12-08 17:31:28 +00:00 |
Dr Maxim Orlovsky
|
881f4d75dd
|
PSBT: Making hash preimage constant names match BIP 174
|
2020-12-07 16:35:28 +01:00 |
Dr Maxim Orlovsky
|
214e10baef
|
PSBT types are now constants
|
2020-12-07 15:37:16 +01:00 |
Steven Roose
|
b4c8e12f36
|
Merge pull request #259 from stevenroose/taproot
Tagged hashes for taproot
|
2020-12-07 11:34:37 +00:00 |
Steven Roose
|
f0ee94f2b2
|
Merge pull request #513 from LNP-BP/psbt/standard-names
PSBT: making input and output field names match spec type names
|
2020-12-07 11:34:06 +00:00 |
Dr Maxim Orlovsky
|
27037e2c72
|
PSBT: Making RIPEMD160 hash match standard name
|
2020-12-05 15:46:30 +01:00 |
Dr Maxim Orlovsky
|
9b106ee161
|
PSBT: making BIP32 field name match spec type names
|
2020-12-05 15:45:20 +01:00 |
Steven Roose
|
a56712befc
|
Create tagged taproot hashes
|
2020-11-30 20:13:11 +00:00 |
Steven Roose
|
ee192eb61d
|
Merge pull request #470 from LNP-BP/feat/bip32-bin
BIP 32 binary encoding functions are extracted from base58
|
2020-11-23 21:33:54 +00:00 |
Elichai Turkel
|
7c05673b86
|
Merge pull request #487 from RCasatta/map_with_u128
use u128 in map_to_range
|
2020-11-15 15:42:00 +02:00 |
Dr Maxim Orlovsky
|
fa4ecb4a6a
|
Making ExtendedPubKey decode aligned with ExtendedPrivKey variant
|
2020-11-10 09:30:33 +01:00 |
Dr Maxim Orlovsky
|
a802ca88ef
|
Using base58::check_encode_slice_to_fmt for BIP32 encodings
|
2020-11-08 18:29:30 +01: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 |
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 |
Andrew Poelstra
|
93df7cbd3e
|
Merge pull request #291 from kallewoof/2019-07-signet
add signet support
|
2020-10-26 19:46:10 +00: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
|
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
|
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 |
Steven Roose
|
3f65fb1aed
|
Don't support signed messages with p2wpkh addresses
|
2020-10-14 16:54:58 +02:00 |
Dr Maxim Orlovsky
|
00c3466363
|
Serde implementation for PSBT
|
2020-10-14 16:31:24 +02: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 |