Phil McLean
48f20014bf
Add document on confidential transactions
2023-05-02 11:06:11 -07:00
Byron Hambly
5d10ff9f52
lint: fix typo in tx-format doc
2022-09-07 14:44:07 +02:00
Pablo Greco
b4935a51c0
Merge pull request #1157 from achow101/explicit-pset-fields
...
pset: Add input explicit value, assets, and proofs, and issuance blinding flag
2022-09-06 16:00:45 -03:00
Andrew Chow
6291af43f9
doc: Specify flag for blinding issuances
2022-09-06 11:38:03 -04:00
Andrew Chow
172a959c7a
doc: Specify input explicit values and assets and their proofs
2022-09-06 11:32:35 -04:00
James Dorfman
6c55d1d53f
docs: fix typo in elements-tx-format.md and remove trailing whitespace
2022-09-02 11:26:29 -04:00
James Dorfman
872478b1be
docs: describe elements transaction serialization format ( #1148 )
2022-09-01 13:24:11 -04:00
Jon Griffiths
28c3836b5c
PSET: docs: Fix constant names to match those actually used
2022-07-05 13:07:43 +12:00
Jon Griffiths
7ef6c44225
PSET: docs: Fix the data type of PSBT_ELEMENTS_IN_PEG_IN_WITNESS
2022-07-01 20:10:42 +12:00
Jon Griffiths
bb20a6c373
PSET: docs: Mark PSBT_ELEMENTS_GLOBAL_TX_MODIFIABLE bit 0 as reserved/unused
...
Elements does not set or process this bit or this field currently.
2022-07-01 20:05:23 +12:00
Jon Griffiths
e7d994008e
PSET: docs: Fix reference to non-existent PSBT_OUT_VALUE field
2022-07-01 19:30:38 +12:00
Jon Griffiths
0b1b0b2676
PSET: docs: Document PSBT fields that are conditionally mandatory in PSET
2022-07-01 19:20:09 +12:00
Glenn Willen
8896cf7093
ci: Fix spelling to satisfy linter
2022-05-25 11:48:35 -07:00
Glenn Willen
dd62faf9ec
Merge 2247e44b95 into merged_master (Elements PR ElementsProject/elements#1068 )
2022-04-20 19:45:58 -07:00
Riccardo Casatta
3c911a7ed7
Typos in pset doc
2021-11-15 14:56:21 +01:00
Andrew Poelstra
ba8273ac94
lint: fix non-pylint linter errors
...
Includes fixing all the spelling mistakes that are our fault,
but not those present upstream in Core.
2021-10-15 00:20:20 +00:00
Andrew Poelstra
daa471ddd2
Merge 4c7dc0620a into merged_master (Elements PR ElementsProject/elements#1046 )
2021-09-22 02:26:13 +00:00
Andrew Poelstra
9c55d0a175
pset: only check asset/amount proofs in case both explicit+blinded values are provided
2021-09-21 20:33:28 +00:00
Andrew Poelstra
edac5081f4
Merge 1240172eaa into merged_master (Elements PR ElementsProject/elements#1038 )
...
Surprisingly the only conflicts were converting nullopts
2021-09-18 02:10:36 +00:00
Andrew Chow
b9a08f3773
doc, pset: Add blind commitment proofs
...
Specify fields for the proofs for blinded amounts and assets and when
they are added.
2021-09-08 13:12:31 -04:00
Andrew Chow
9856f2caa2
pset, doc: Remove requirement to remove blinded amounts and assets
2021-09-07 21:00:47 -04:00
Andrew Poelstra
ba3d786a61
Merge 64194498cf into merged_master (Elements PR ElementsProject/elements#1025 )
...
Another annoying one to deal with because it includes partial
backports. In future let's really try to stay up to date with
Core.
2021-09-05 15:42:08 +00:00
Andrew Poelstra
0c0d985676
Merge 84b3f7b004 into merged_master (Elements PR ElementsProject/elements#1019 )
2021-09-05 14:20:19 +00:00
Andrew Poelstra
ff244b06d1
Merge e0532f60c7 into merged_master (Elements PR ElementsProject/elements#933 )
2021-09-04 20:12:54 +00:00
Andrew Poelstra
36e5e2a7f1
Merge 9a154599fe into merged_master (Elements PR ElementsProject/elements#900 )
...
Surprisingly easy to do. Almost all of the diff resolution was mechanically
* replacing boost::variant with std::variant
* replacing Optional with std::optional
* then replacing `nullopt` with `std::nullopt`
* updating the RPC functions for the new RPCArg::Default type
* update the tests/ directory to make new (since 22) tests use arrays for
createrawtransaction outputs
* other ad-hoc changes to function parameters etc (not too many of these)
I had to "really" change the code in PrecomputePSBTData, which was introduced
in 22.0 and affected by PSET, but this function was like 8 lines long so it
was easy.
Reviewing the diff may be a bit difficult because of the mix of mechanical
changes and ad-hoc things. Probably the most straightforward thing to do
is to redo the merge, `sed -i` to fix the boost::variant and Optional stuff,
then diff the remaining conflicts against this commit.
TODO: grep for `blindpsbt` and you will see that this RPC is still referenced
in documentation and help text even though it was deleted. Need to fix this
in 0.21 in a separate PR.
2021-09-04 19:34:14 +00:00
Andrew Poelstra
64194498cf
Merge ElementsProject/elements#1025 : Introduce blech32m format for v1+ witness programs
...
c72c949d29 blech32: copy ubsan suppression for bech32 to blech32 (Andrew Poelstra)
d13fb4994b blech32: add test vectors for blech32 and blech32m (Andrew Poelstra)
15a826ea27 blech32: add functional tests for blech32m (Andrew Poelstra)
c01e09e8c3 blech32: add blech32m format and use it to decode witness v1+ addresses (Andrew Poelstra)
18fcec8714 naming nits (Fabian Jahr)
8515f40fed Add signet support to gen_key_io_test_vectors.py (Pieter Wuille)
b3df66f82e Use Bech32m encoding for v1+ segwit addresses (Pieter Wuille)
42f43a1bcb Add Bech32m test vectors (Pieter Wuille)
b1d1d94e01 Implement Bech32m encoding/decoding (Pieter Wuille)
c607835bad Better error messages for invalid addresses (Bezdrighin)
Pull request description:
Includes backports of https://github.com/bitcoin/bitcoin/pull/20832 (1 commit) and https://github.com/bitcoin/bitcoin/pull/20861 (5 commits)
ACKs for top commit:
gwillen:
utACK c72c949 .
Tree-SHA512: af96a6ef31b1cab72b0350197dcb34761e9ffb2ec43685084408b5fafcda0adee1945045003194600372652f7cca65d721bda3ed9b6be7e9543d3199e2cbe145
2021-08-30 18:59:25 +00:00
sanket1729
31c232a39b
clarify that secp scalars are unsigned big endian
2021-08-24 10:46:33 -07:00
sanket1729
f11fe0ad9c
Update spec for rolling sha256 opcodes
2021-08-23 16:39:22 -07:00
sanket1729
3055e85042
Rename taptweak
2021-08-19 09:49:10 -07:00
Pieter Wuille
b3df66f82e
Use Bech32m encoding for v1+ segwit addresses
...
This also includes updates to the Python test framework implementation,
test vectors, and release notes.
https://github.com/bitcoin/bitcoin/pull/20861 (3/5)
2021-08-17 22:32:47 +00:00
sanket1729
a651f7ed4b
More updates to spec
2021-08-17 15:20:35 -07:00
sanket1729
147b9b7f6a
Remove binary operations for 64 bits
2021-08-17 15:20:35 -07:00
sanket1729
95f82f5080
Update spec for inputoutpoint
2021-08-17 15:20:35 -07:00
sanket1729
6c4971dfbd
Confirm overflow behaviour of scalars
2021-08-17 15:20:35 -07:00
sanket1729
1d778dd632
Remove shifts, update output spk introspection
2021-08-17 15:20:35 -07:00
sanket1729
49978abf5a
Renumber opcodes; minor fixups
2021-08-17 15:20:35 -07:00
sanket1729
3be79d1257
Update LE32 to read only unsigned
2021-08-17 15:20:35 -07:00
sanket1729
d3cff9eea4
Update overflow behavior
2021-08-17 15:20:35 -07:00
sanket1729
50733b8826
Flatten out introspection opcodes
2021-08-17 15:20:35 -07:00
sanket1729
4bce8af953
Remove MULTISCALAREXPVERIFY. Sigops budget calculation is mentioned in respective opcode sections
2021-08-17 15:20:35 -07:00
sanket1729
5ae2945da7
[WIP] updated spec for tapscript opcodes
...
Update op_success
2021-08-17 15:20:35 -07:00
Andrew Poelstra
f2e33074db
Merge 0355e30db3 into merged_master (Elements PR ElementsProject/elements#949 )
2021-08-04 01:22:50 +00:00
Andrew Poelstra
7a9b6ec4bf
Merge e7441a6a45 into merged_master (Bitcoin PR bitcoin/bitcoin#21711 )
2021-08-03 12:46:53 +00:00
Andrew Poelstra
0bfb3367ed
Merge 853ac47705 into merged_master (Bitcoin PR bitcoin/bitcoin#22393 )
2021-08-02 18:44:02 +00:00
Andrew Poelstra
55d94495b0
Merge d86e6625e8 into merged_master (Bitcoin PR bitcoin/bitcoin#22369 )
2021-08-02 17:56:50 +00:00
Andrew Poelstra
78c3a94eb8
Merge d8f1e1327f into merged_master (Bitcoin PR bitcoin/bitcoin#22112 )
2021-07-31 21:46:05 +00:00
Andrew Poelstra
76c539ccc0
Merge e0fe658b86 into merged_master (Bitcoin PR bitcoin/bitcoin#22335 )
2021-07-31 19:18:53 +00:00
Andrew Poelstra
3bdbe9eaec
Merge 692b78793b into merged_master (Bitcoin PR bitcoin/bitcoin#22360 )
2021-07-30 20:48:22 +00:00
Andrew Poelstra
1dd57b5dc3
Merge c609e10545 into merged_master (Bitcoin PR bitcoin/bitcoin#22292 )
2021-07-30 17:34:54 +00:00
Andrew Poelstra
35df56002a
Merge bfd910cae4 into merged_master (Bitcoin PR bitcoin/bitcoin#18568 )
2021-07-29 15:40:49 +00:00