Commit graph

2519 commits

Author SHA1 Message Date
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
Andrew Poelstra
e577745980 Merge 8cdf91735f into merged_master (Bitcoin PR bitcoin/bitcoin#22349) 2021-07-29 06:36:50 +00:00
Andrew Poelstra
0c75e5a6e7 Merge ac238f76bf into merged_master (Bitcoin PR bitcoin/bitcoin#22339) 2021-07-29 05:59:10 +00:00
Andrew Poelstra
a1f89ca048 Merge b7565c708d into merged_master (Bitcoin PR bitcoin/bitcoin#22250) 2021-07-29 00:25:20 +00:00
Andrew Poelstra
91ecc65c31 Merge c31161f4f7 into merged_master (Bitcoin PR bitcoin/bitcoin#22320) 2021-07-28 19:32:30 +00:00
Andrew Poelstra
e8b84fa091 Merge d6e0d78c31 into merged_master (Bitcoin PR bitcoin/bitcoin#20966) 2021-07-28 14:05:54 +00:00
Andrew Poelstra
01feb5521a Merge 398dd67833 into merged_master (Bitcoin PR bitcoin/bitcoin#22296) 2021-07-28 04:13:16 +00:00
Andrew Poelstra
a83d2595bc Merge 6556da77d7 into merged_master (Bitcoin PR bitcoin/bitcoin#21056) 2021-07-28 02:41:57 +00:00
Andrew Poelstra
150d75939d Merge 4bff49bbb1 into merged_master (Bitcoin PR bitcoin/bitcoin#22172) 2021-07-25 02:56:00 +00:00
Andrew Poelstra
0649daf81f Merge 356f421fb0 into merged_master (Bitcoin PR bitcoin/bitcoin#22204) 2021-07-24 00:28:11 +00:00
Andrew Poelstra
3ffb9aa14f Merge c7dd9ff71b into merged_master (Bitcoin PR bitcoin/bitcoin#22051)
Does the bare minimum to introduce Taproot wallet support with CT; just
adds a CPubKey blinding_pubkey to the taproot destination variant and
updates some visitors.

In future when we define blech32 we will need to make sure we are using
that encoding and using the pubkey.
2021-07-21 23:15:57 +00:00
Andrew Poelstra
aca7078cf9 Merge 1186910b6b into merged_master (Bitcoin PR bitcoin/bitcoin#22088) 2021-07-20 22:01:46 +00:00
Andrew Poelstra
19eaa87430 Merge a83bbf02c7 into merged_master (Bitcoin PR bitcoin/bitcoin#22054) 2021-07-20 15:42:46 +00:00
fanquake
e7441a6a45
Merge bitcoin/bitcoin#21711: guix: Add full installation and usage documentation
fac4814106 doc/release-process: Add torrent creation details (Carl Dong)
5d24cc3d82 guix/INSTALL: Guix installs init scripts in libdir (Carl Dong)
5da2ee49d5 guix/INSTALL: Add coreutils/inotify-dir-recreate troubleshooting (Carl Dong)
318c60700b guix: Adapt release-process.md to new Guix process (Carl Dong)
fcab35b229 guix-attest: Produce and sign normalized documents (Carl Dong)
c2541fd0ca guix: Overhaul README (Carl Dong)
46ce6ce378 tree-wide: Rename gitian-keys to builder-keys (Carl Dong)
fc4f8449f3 guix: Update various check_tools lists (Carl Dong)
263220a85c guix: Check for a sane services database (Carl Dong)

Pull request description:

  Based on: #21462

  Keeping the README in one file so that it's easy to search through. Will add more jumping links later so navigation is easier.

  Current TODOs:
  - [x] Shell installer option: prompt user to re-login for `/etc/profile.d` entry to be picked up
  - [x] Binary tarball option: prompt user to create `/etc/profile.d` entry and re-login
  - [x] Fanquake docker option: complete section
  - [x] Arch Linux AUR option: prompt to start `guix-daemon-latest` unit after finishing "optional setup" section
  - [x] Building from source option: Insert dependency tree diagram that I made
  - [x] Building from source option: redo sectioning, kind of a mess right now
  - [x] Optional setup: make clear which parts are only needed if building from source
  - [x] Workaround 1 for GnuTLS: perhaps mention how to remove Guix build farm's key
  - [x] Overall (after everything): Make the links work.

  Note to self: wherever possible, tell user how to check that something is true rather than branching by installation option.

ACKs for top commit:
  fanquake:
    ACK fac4814106 - going to go ahead and merge this now. It's a lot of documentation, and could probably be nit-picked / improved further, however, that can continue over the next few weeks. I'm sure more (backportable) improvements / clarifications will be made while we progress through RCs towards a new release.

Tree-SHA512: dc46c0ecdfc67c7c7743ca26e4a603eb3f54adbf81be2f4c1f4c20577ebb84b5250b9c9ec89c0e9860337ab1c7cff94d7963c603287267deecfe1cd987fa070a
2021-07-20 11:09:39 +08:00
Carl Dong
fac4814106 doc/release-process: Add torrent creation details
Source: https://github.com/bitcoin/bitcoin/pull/21711#discussion_r668754244
2021-07-19 18:24:36 -04:00
Carl Dong
318c60700b guix: Adapt release-process.md to new Guix process
Also, clean up release-process.md
2021-07-19 18:24:36 -04:00
Andrew Poelstra
3bb3c02495 Merge 933c6466c2 into merged_master (Bitcoin PR bitcoin/bitcoin#22109) 2021-07-19 19:25:00 +00:00