Skip to content

btc: SERIALIZE macro fix (C2POOL_SERIALIZE_METHODS, PR#71 lockstep) [PR-B/3]#78

Merged
frstrtr merged 1 commit into
masterfrom
btc-serialize-macro-fix
Jun 10, 2026
Merged

btc: SERIALIZE macro fix (C2POOL_SERIALIZE_METHODS, PR#71 lockstep) [PR-B/3]#78
frstrtr merged 1 commit into
masterfrom
btc-serialize-macro-fix

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 10, 2026

Copy link
Copy Markdown
Owner

PR-B of 3 — btc SERIALIZE macro fix (btc-only)

Renames the single-arg SERIALIZE_METHODS -> C2POOL_SERIALIZE_METHODS in the
btc variant, in lockstep with PR#71 which removed the no-arg alias. Fixes the
btc compile break at src/impl/btc/coin/transaction.hpp:51; btc now builds
through to the LINK stage.

Scope (per-coin isolation invariant)

Touches src/impl/btc/ ONLY — 4 files:

  • src/impl/btc/coin/block.hpp
  • src/impl/btc/coin/p2p_messages.hpp
  • src/impl/btc/coin/transaction.hpp
  • src/impl/btc/share_types.hpp

No src/core, no src/impl/ltc. Does NOT make any smoke green on its own:
btc smoke is still RED at LINK because core/web_server.cpp is hard-typed to
ltc::coin::NodeRPC. That is cleared by PR-C (web_server -> core::coin::ICoinNode
retype), which binds to the ltc concrete CoinNode added in PR-A.

Sequence

  • PR-A (ltc-doge): additive ltc concrete CoinNode — the gate PR-C binds to.
  • PR-B (this): btc serialize fix.
  • PR-C (me): web_server retype + caller updates — the green-gate, folds onto
    this branch after PR-A lands on master.

Not requesting a standalone merge; batch with PR-C per integrator.

PR#71 renamed the macro with no alias; btc/coin + share_types still used
the bare name, so READWRITE expanded with formatter/stream/obj out of scope
(transaction.hpp:51). Lockstep rename of all 12 sites across 4 files. Fixes
the btc compile break; full c2pool-btc link still pending web_server retype.
@frstrtr frstrtr merged commit de552dd into master Jun 10, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant