Skip to content

protocol 1.7 (WIP)#2

Draft
SomberNight wants to merge 9 commits intospesmilo:masterfrom
SomberNight:202502_protocol_next
Draft

protocol 1.7 (WIP)#2
SomberNight wants to merge 9 commits intospesmilo:masterfrom
SomberNight:202502_protocol_next

Conversation

@SomberNight
Copy link
Copy Markdown
Member

wip

Armanidashh

This comment was marked as spam.

Comment thread docs/protocol-methods.rst
@SomberNight SomberNight force-pushed the 202502_protocol_next branch 2 times, most recently from d32a69e to c10f63f Compare February 17, 2025 17:03
@SomberNight SomberNight force-pushed the 202502_protocol_next branch 2 times, most recently from e74e0f1 to 9e02865 Compare February 21, 2025 17:23
@SomberNight SomberNight force-pushed the 202502_protocol_next branch from 1c30e19 to 337b006 Compare March 10, 2025 18:57
@SomberNight SomberNight modified the milestone: protocol 1.6 Jun 17, 2025
@SomberNight SomberNight force-pushed the 202502_protocol_next branch from f17061d to 7911396 Compare July 29, 2025 15:12
SomberNight added a commit to SomberNight/electrum-protocol that referenced this pull request Oct 22, 2025
This is a minimal changeset for a new protocol version.
The ideas for the less trivial changes are deferred a bit, just so we get something out.

ref spesmilo#2
ref spesmilo/electrumx#90
@SomberNight SomberNight changed the title protocol next (WIP) protocol 1.7 (WIP) Oct 22, 2025
Comment thread docs/protocol-methods.rst

**Signature**

.. function:: blockchain.outpoint.subscribe(tx_hash, txout_idx, spk_hint=None)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: bitcoin core added a txospenderindex, to be used with the gettxspendingprevout RPC.
ref bitcoin/bitcoin#24539

  • see what their API looks like and maybe adapt what we add to that
    • in particular we could put spender_blockhash in the response
    • they also have an option to put the full tx in the response

- This is mostly split off from the protocol 1.5/2.0 specs and ideas
  in spesmilo/electrumx#90
  - notably it does not include the history pagination, and the recursive scripthash status,
    which are deferred for now
This construction makes it more homogeneous with existing notifications.

ref spesmilo/electrumx#303 (comment)
@SomberNight SomberNight force-pushed the 202502_protocol_next branch from 7911396 to 7efc355 Compare April 30, 2026 16:08
@SomberNight SomberNight force-pushed the 202502_protocol_next branch from 7efc355 to 7eb1d59 Compare April 30, 2026 16:22
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.

3 participants