Skip to content

Conversation

ryanofsky
Copy link
Collaborator

@ryanofsky ryanofsky commented Sep 27, 2023

Needed to support vector<bool> txout_is_change field added in bitcoin-core/gui#119

Needed to support vector<bool> txout_is_change field added in
bitcoin-core/gui#119
@ryanofsky ryanofsky changed the title Add support for vector\<bool\> serialization Add support for vector<bool> serialization Sep 27, 2023
@ryanofsky ryanofsky merged commit 61d5a0e into bitcoin-core:master Sep 27, 2023
ryanofsky added a commit to ryanofsky/bitcoin that referenced this pull request Sep 28, 2023
Update libmultiprocess to include newer changes:

- "Remove naming requirement for std::pair/std::tuple" (bitcoin-core/libmultiprocess#85)
  To support adding a src/ipc/capnp/chain.capnp RPCArg struct which is mapped
  to a std::pair in a upcoming commit.

- Add support for vector<bool> serialization (bitcoin-core/libmultiprocess#86)
  To support adding serializing recently-added vector<bool> txout_is_change.
ryanofsky added a commit to ryanofsky/bitcoin that referenced this pull request Oct 20, 2023
Update libmultiprocess to include newer changes:

- "Remove naming requirement for std::pair/std::tuple" (bitcoin-core/libmultiprocess#85)
  To support adding a src/ipc/capnp/chain.capnp RPCArg struct which is mapped
  to a std::pair in a upcoming commit.

- Add support for vector<bool> serialization (bitcoin-core/libmultiprocess#86)
  To support adding serializing recently-added vector<bool> txout_is_change.
ryanofsky added a commit to ryanofsky/bitcoin that referenced this pull request Oct 20, 2023
Update libmultiprocess to include newer changes:

- "Remove naming requirement for std::pair/std::tuple" (bitcoin-core/libmultiprocess#85)
  To support adding a src/ipc/capnp/chain.capnp RPCArg struct which is mapped
  to a std::pair in a upcoming commit.

- Add support for vector<bool> serialization (bitcoin-core/libmultiprocess#86)
  To support adding serializing recently-added vector<bool> txout_is_change.
ryanofsky added a commit to ryanofsky/bitcoin that referenced this pull request Oct 24, 2023
Update libmultiprocess to include newer changes:

- "Remove naming requirement for std::pair/std::tuple" (bitcoin-core/libmultiprocess#85)
  To support adding a src/ipc/capnp/chain.capnp RPCArg struct which is mapped
  to a std::pair in a upcoming commit.

- Add support for vector<bool> serialization (bitcoin-core/libmultiprocess#86)
  To support adding serializing recently-added vector<bool> txout_is_change.
ryanofsky added a commit to ryanofsky/bitcoin that referenced this pull request Oct 24, 2023
Update libmultiprocess to include newer changes:

- "Remove naming requirement for std::pair/std::tuple" (bitcoin-core/libmultiprocess#85)
  To support adding a src/ipc/capnp/chain.capnp RPCArg struct which is mapped
  to a std::pair in a upcoming commit.

- Add support for vector<bool> serialization (bitcoin-core/libmultiprocess#86)
  To support adding serializing recently-added vector<bool> txout_is_change.
ryanofsky added a commit to ryanofsky/libmultiprocess that referenced this pull request Jan 22, 2024
The vector<bool> serialization supported added in
bitcoin-core#86 commit
1c6fb04 was only tested with libstdc++ not
libc++ and caused a test compilation failure when compiling on macos, reported
by edilmedeiros in bitcoin-core#92

Fix the issue that was causing the build to fail: trying to use using vector's
reference type instead of const_reference type when serializing the vector.

Fixes bitcoin-core#92
ryanofsky added a commit that referenced this pull request Jan 22, 2024
10fc3ed Fix support for vector<bool> serialization with libc++ (Ryan Ofsky)

Pull request description:

  The vector<bool> serialization supported added in #86 commit 1c6fb04 was only tested with libstdc++ not libc++ and caused a test compilation failure when compiling on macos, reported by edilmedeiros in #92

  Fix the issue that was causing the build to fail: trying to use using vector's reference type instead of const_reference type when serializing the vector.

  Fixes #92

Top commit has no ACKs.

Tree-SHA512: ad295f384fd10be94640809877a8e04d280ab837348ed3427b5c0eeae244f86c092048e148ffe7d37de10d0caa6a38a0839910481fdff711e0ab9ac18eb2a784
@bitcoin-core bitcoin-core locked and limited conversation to collaborators Jun 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant