Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf04a2cf69 
							
						 
					 
					
						
						
							
							descriptor: Use DescriptorError instead of Error when reasonable  
						
						 
						
						... 
						
						
						
						Change the return type of the `descriptor!()` macro and `ToWalletDescriptor` to
avoid having to map errors.
Also introduce more checks to validate descriptors built using the macro. 
						
						
					 
					
						2021-01-12 12:21:22 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c2b2da7601 
							
						 
					 
					
						
						
							
							Merge commit 'refs/pull/252/head' of github.com:bitcoindevkit/bdk  
						
						 
						
						
						
						
					 
					
						2020-12-23 18:39:05 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LLFourn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							656c9c9da8 
							
						 
					 
					
						
						
							
							Use () to indicate a missing blockchain  
						
						 
						
						... 
						
						
						
						So that:
1. There are no runtime errors
2. There less type annotations needed
3. Less traits and stuff to document 
						
						
					 
					
						2020-12-23 14:52:29 +11:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LLFourn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a578d20282 
							
						 
					 
					
						
						
							
							Fix incredibly annoying cargo-fmt problem  
						
						 
						
						... 
						
						
						
						I must have a newer version of cargo-fmt which stops me from making
commits every time because of this. 
						
						
					 
					
						2020-12-22 14:37:53 +11:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							63aabe203f 
							
						 
					 
					
						
						
							
							Merge commit 'refs/pull/235/head' of github.com:bitcoindevkit/bdk  
						
						 
						
						
						
						
					 
					
						2020-12-18 10:41:37 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2325a1fcc2 
							
						 
					 
					
						
						
							
							[docs] Format code in docs with '--config format_code_in_doc_comments=true'  
						
						 
						
						
						
						
					 
					
						2020-12-16 15:12:51 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							713411ea5d 
							
						 
					 
					
						
						
							
							[keys] impl ToDescriptorKey for &str  
						
						 
						
						
						
						
					 
					
						2020-12-16 19:06:02 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7e90657ee1 
							
						 
					 
					
						
						
							
							[descriptor] Make the syntax of descriptor!() more consistent  
						
						 
						
						... 
						
						
						
						The syntax now is pretty much the same as the normal descriptor syntax,
with the only difference that modifiers cannot be grouped together (i.e.
`sdv:older(144)` must be turned into `s:d:v:older(144)`. 
						
						
					 
					
						2020-12-16 19:00:55 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6d9472793c 
							
						 
					 
					
						
						
							
							Merge commit 'refs/pull/228/head' of github.com:bitcoindevkit/bdk  
						
						 
						
						
						
						
					 
					
						2020-12-15 14:33:59 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							322122afc8 
							
						 
					 
					
						
						
							
							[wallet] Set the correct nSequence when RBF and OP_CSV are used  
						
						 
						
						... 
						
						
						
						This commit also fixes the timelock comparing logic in the policy module, since
the rules are different for absolute (OP_CLTV) and relative (OP_CSV) timelocks.
Fixes  #215  
						
						
					 
					
						2020-12-15 12:01:41 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1713d621d4 
							
						 
					 
					
						
						
							
							Rename ScriptType to KeychainKind  
						
						 
						
						... 
						
						
						
						This avoids confusion with the "type of script". 
						
						
					 
					
						2020-12-14 17:14:24 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c83cec3777 
							
						 
					 
					
						
						
							
							Merge commit 'refs/pull/221/head' of github.com:bitcoindevkit/bdk  
						
						 
						
						
						
						
					 
					
						2020-12-14 11:27:51 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ef0b45745 
							
						 
					 
					
						
						
							
							Merge commit 'refs/pull/224/head' of github.com:bitcoindevkit/bdk  
						
						 
						
						
						
						
					 
					
						2020-12-14 11:18:51 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f8d3cdca9f 
							
						 
					 
					
						
						
							
							[docs] Add experimental warning to compact_filters and policy modules  
						
						 
						
						
						
						
					 
					
						2020-12-13 21:04:17 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f2dc05c08 
							
						 
					 
					
						
						
							
							[docs] Add docs to the 'descriptor' module  
						
						 
						
						
						
						
					 
					
						2020-12-13 20:57:28 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4e771d6546 
							
						 
					 
					
						
						
							
							[docs] Add docs to the 'template' module  
						
						 
						
						
						
						
					 
					
						2020-12-13 20:41:32 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							60e5cf1f8a 
							
						 
					 
					
						
						
							
							[docs] Add docs to the 'policy' module  
						
						 
						
						
						
						
					 
					
						2020-12-13 20:40:23 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Evgenii P 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							641d9554b1 
							
						 
					 
					
						
						
							
							Ignore broken tests. ( #225 )  
						
						 
						
						
						
						
					 
					
						2020-12-14 10:17:12 +07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c0a92bd084 
							
						 
					 
					
						
						
							
							[keys] Replace (Fingerprint, DerivationPath) with KeySource  
						
						 
						
						
						
						
					 
					
						2020-12-11 11:16:41 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9bafdfe2d4 
							
						 
					 
					
						
						
							
							[docs] Various fixes to the docs  
						
						 
						
						
						
						
					 
					
						2020-12-11 11:16:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							602ae3d63a 
							
						 
					 
					
						
						
							
							Add TODOs for missing_docs  
						
						 
						
						
						
						
					 
					
						2020-12-07 18:25:16 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Riccardo Casatta 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8b1a9d2518 
							
						 
					 
					
						
						
							
							[docs] descriptor/error.rs  
						
						 
						
						
						
						
					 
					
						2020-12-05 13:25:58 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ebfe5db0c3 
							
						 
					 
					
						
						
							
							[wallet] Add a flag to fill-in PSBT_GLOBAL_XPUB  
						
						 
						
						
						
						
					 
					
						2020-12-01 16:43:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LLFourn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d2490d9ce3 
							
						 
					 
					
						
						
							
							Fix to at least bitcoin ^0.25.2  
						
						 
						
						... 
						
						
						
						And fix the fallout. 
						
						
					 
					
						2020-11-23 15:06:13 +11:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Moon 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9e2b2d04ba 
							
						 
					 
					
						
						
							
							More consistent references with 'signers' variables  
						
						 
						
						
						
						
					 
					
						2020-11-19 10:27:34 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Moon 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b1b2f2abd6 
							
						 
					 
					
						
						
							
							[wallet] Don't wrap SignersContainer arguments in Arc  
						
						 
						
						
						
						
					 
					
						2020-11-19 10:27:33 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6f4d2846d3 
							
						 
					 
					
						
						
							
							[descriptor] Add support for sortedmulti in descriptor!  
						
						 
						
						
						
						
					 
					
						2020-11-17 23:57:33 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7a42c5e095 
							
						 
					 
					
						
						
							
							Switch to "mainline" rust-miniscript  
						
						 
						
						
						
						
					 
					
						2020-11-17 23:57:28 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7c80aec454 
							
						 
					 
					
						
						
							
							[wallet] Take both spending policies into account in create_tx  
						
						 
						
						... 
						
						
						
						This allows specifying different "policy paths" for the internal and external
descriptors, and adds additional checks to make sure they are compatibile (i.e.
the timelocks are expressed in the same unit).
It's still suboptimal, since the `n_sequence`s are per-input and not per-transaction,
so it should be possibile to spend different inputs with different, otherwise
incompatible, `CSV` timelocks, but that requires a larger refactor that
can be done in a future patch.
This commit also tries to clarify how the "policy path" should be used by adding
a fairly detailed example to the docs. 
						
						
					 
					
						2020-11-13 12:55:42 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8927d68a69 
							
						 
					 
					
						
						
							
							[descriptor] Comment out incomplete ExtractPolicy trait tests  
						
						 
						
						
						
						
					 
					
						2020-10-26 12:48:31 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3a80e87ccb 
							
						 
					 
					
						
						
							
							[descriptor] Fix compile errors after rebase  
						
						 
						
						
						
						
					 
					
						2020-10-26 12:48:27 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e31f5306d2 
							
						 
					 
					
						
						
							
							[descriptor] Add descriptor macro tests  
						
						 
						
						
						
						
					 
					
						2020-10-26 12:48:23 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9fa9a304b9 
							
						 
					 
					
						
						
							
							[descriptor] Add get_checksum tests, cleanup tests  
						
						 
						
						
						
						
					 
					
						2020-10-26 12:48:19 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bc0e9c9831 
							
						 
					 
					
						
						
							
							[descriptor] Add ExtractPolicy trait tests  
						
						 
						
						
						
						
					 
					
						2020-10-26 12:48:15 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							100f0aaa0a 
							
						 
					 
					
						
						
							
							Bump rust-bitcoin to 0.25, fix Cargo dependencies  
						
						 
						
						... 
						
						
						
						Closes  #112 , closes  #113 , closes  #124  
						
						
					 
					
						2020-10-13 10:39:48 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							070d481849 
							
						 
					 
					
						
						
							
							[ci] Fix clippy warnings for 1.47.0  
						
						 
						
						
						
						
					 
					
						2020-10-10 10:31:08 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							aea9abff8a 
							
						 
					 
					
						
						
							
							[ci] Fix clippy warnings, enable clippy checks  
						
						 
						
						
						
						
					 
					
						2020-10-10 10:31:07 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1faf0ed0a0 
							
						 
					 
					
						
						
							
							Fix the recovery of a descriptor given a PSBT  
						
						 
						
						... 
						
						
						
						This commit upgrades `rust-miniscript` with a fix to only return the prefix that
matches a `hd_keypath` instead of the full derivation path, and then adapts the
signer code accordingly.
This commit closes  #108  and #109 . 
						
						
					 
					
						2020-10-02 17:52:11 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steve Myers 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eae15563d8 
							
						 
					 
					
						
						
							
							[descriptor] add ToWalletDescriptor trait tests  
						
						 
						
						
						
						
					 
					
						2020-09-25 22:21:11 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c93cd1414a 
							
						 
					 
					
						
						
							
							[descriptor] Add descriptor templates, add DerivableKey  
						
						 
						
						
						
						
					 
					
						2020-09-24 09:53:54 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c51ba4a99f 
							
						 
					 
					
						
						
							
							[keys] Add a way to restrict the networks in which keys are valid  
						
						 
						
						... 
						
						
						
						Thanks to the `ToWalletDescriptor` trait we can also very easily validate the checksum
for descriptors that are loaded from strings, if they contain one. Fixes  #20 . 
						
						
					 
					
						2020-09-24 09:53:51 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bc8acaf088 
							
						 
					 
					
						
						
							
							[keys] Take ScriptContext into account when converting keys  
						
						 
						
						
						
						
					 
					
						2020-09-24 09:53:48 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ab9d964868 
							
						 
					 
					
						
						
							
							[keys] Add BIP39 support  
						
						 
						
						
						
						
					 
					
						2020-09-24 09:53:46 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							751a553925 
							
						 
					 
					
						
						
							
							[descriptor] Improve the descriptor macro, add traits for key and descriptor types  
						
						 
						
						
						
						
					 
					
						2020-09-24 09:53:42 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9832ecb660 
							
						 
					 
					
						
						
							
							[descriptor] Add a macro to write descriptors from code  
						
						 
						
						
						
						
					 
					
						2020-09-24 09:53:41 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
						
						
							
						
						
							d7ee38cc52 
							
						 
					 
					
						
						
							
							Rename the library to bdk  
						
						 
						
						
						
						
					 
					
						2020-09-14 15:13:43 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							43cb0331bf 
							
						 
					 
					
						
						
							
							Rename the crate to just "magical"  
						
						 
						
						
						
						
					 
					
						2020-09-04 17:01:33 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eee75219e0 
							
						 
					 
					
						
						
							
							Write more docs, make TxBuilder::with_recipients take Scripts  
						
						 
						
						
						
						
					 
					
						2020-09-04 16:07:41 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7065c1fed6 
							
						 
					 
					
						
						
							
							Write more docs  
						
						 
						
						
						
						
					 
					
						2020-09-04 11:44:49 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alekos Filini 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c0867a6adc 
							
						 
					 
					
						
						
							
							General cleanup for the docs  
						
						 
						
						
						
						
					 
					
						2020-08-31 15:04:27 +02:00