protofsm: add option to allow conf resp to return full block#9726
protofsm: add option to allow conf resp to return full block#9726Roasbeef merged 2 commits intolightningnetwork:masterfrom
Conversation
|
Important Review skippedAuto reviews are limited to specific labels. 🏷️ Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
908a35e to
234949c
Compare
0276ea5 to
b58451f
Compare
| // FullBlock is a boolean that indicates whether we want the full block | ||
| // in the returned response. This is useful if callers want to create an | ||
| // SPV proof for the transaction post conf. | ||
| FullBlock bool | ||
|
|
There was a problem hiding this comment.
We could name this field IncludeBlock which would align with the chainntnfs options field name (chainntnfs.WithIncludeBlock() etc).
GeorgeTsagk
left a comment
There was a problem hiding this comment.
LGTM, pending the lint errs
In this commit, we add an option to allow a conf req caller to receive the full block. This is useful if the caller wants to be able to create an SPV proof.
b58451f to
3f03752
Compare
In this PR, we add an option to allow a conf req caller to receive
the full block. This is useful if the caller wants to be able to create
an SPV proof.