dash/src/script
fanquake be3b359fa3 Merge #17056: descriptors: Introduce sortedmulti descriptor
4bb660be90a2811b53855bf1fd33a8dd9ba3db47 Add release note (Andrew Chow)
ed96b295d747738334459490c79b7360ab85aaf7 Update descriptors.md to include sortedmulti (Andrew Chow)
80be78ea75ac9833ee3db3d468ed09fc4fe6274c Test sortedmulti descriptor using BIP 67 tests (Andrew Chow)
6f588fd2276e5b713c6d36e3b01288484ddb59c0 Add sortedmulti descriptor and unit tests (Andrew Chow)

Pull request description:

  Adds a `sortedmulti()` descriptor as mentioned in https://github.com/bitcoin/bitcoin/pull/17023#issuecomment-537596416.

  `sortedmulti()` works in the same way as `multi` does but sorts the pubkeys in the resulting scripts in lexicographic order as described in [BIP67](https://github.com/bitcoin/bips/blob/master/bip-0067.mediawiki). Note that this does not add support for BIP67 nor is BIP67 fully supported by this descriptor (which is why it is not named `multi67()`) as it does not require compressed pubkeys.

  Tests from BIP67 were added and documentation was updated.

ACKs for top commit:
  instagibbs:
    re-ACK 4bb660be90
  Sjors:
    re-ACK 4bb660be90a2811b53855bf1fd33a8dd9ba3db47

Tree-SHA512: 93b21112a74ebe0bf316d8f3e0291f69fd975cf0a29332f9728e7b880cad312b8b14007e86adcd7899f117b9303cbcf4cb35f3bb2f2f648d1a446f83f75a70a5
2023-04-06 20:15:47 +03:00
..
bitcoinconsensus.cpp revert dash#1432: Rename consensus source library and API 2022-08-09 14:16:28 +05:30
bitcoinconsensus.h trivial: revert dashification of header guards 2022-08-09 14:16:29 +05:30
descriptor.cpp Merge #17056: descriptors: Introduce sortedmulti descriptor 2023-04-06 20:15:47 +03:00
descriptor.h Merge #17945: doc: Fix doxygen errors 2022-10-17 15:41:14 -05:00
interpreter.cpp fix: get rid of [most] clang warnings during build on linux (#5186) 2023-02-10 20:25:11 -06:00
interpreter.h partial bitcoin#19953: Keep spent outputs in PrecomputedTransactionData 2022-03-24 09:27:25 +05:30
keyorigin.h Bitcoin backport #16227 refactoring CWallet (#4903) 2022-07-12 22:46:31 -05:00
script_error.cpp Merge #18412: script: fix SCRIPT_ERR_SIG_PUSHONLY error string 2021-07-13 21:19:48 -05:00
script_error.h Merge #11423: [Policy] Several transaction standardness rules 2021-06-05 22:13:01 +03:00
script.cpp 16659 continuation 2021-12-17 12:02:16 -05:00
script.h Merge #15748: [rpc] remove dead mining code 2023-02-15 00:07:39 -06:00
sigcache.cpp merge bitcoin#20581: Don't make "in" parameters look like "out"/"in-out" parameters: pass by ref to const instead of ref to non-const 2022-10-17 08:03:12 +05:30
sigcache.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
sign.cpp Merge #18115: wallet: Pass in transactions and messages for signing instead of exporting the private keys 2023-03-19 11:08:31 -05:00
sign.h partial bitcoin#18115: Pass in transactions and messages for signing instead of exporting the private keys 2022-10-17 07:57:14 +05:30
signingprovider.cpp Merge #17260: Split some CWallet functions into new LegacyScriptPubKeyMan (#4938) 2022-08-08 11:05:21 -05:00
signingprovider.h Merge #18067: wallet: Improve LegacyScriptPubKeyMan::CanProvide script recognition 2023-03-19 11:08:31 -05:00
standard.cpp Merge #15452: Replace CScriptID and CKeyID in CTxDestination with dedicated types 2023-02-10 23:34:57 +03:00
standard.h Merge #15452: Replace CScriptID and CKeyID in CTxDestination with dedicated types 2023-02-10 23:34:57 +03:00