Skip to content

Commit

Permalink
Bifrost: more details no tx requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Nov 13, 2021
1 parent f93a5d7 commit 4558109
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions lnpbp-0051.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,19 @@ License: CC0-1.0

### Bifrost transaction requirements

Bifrost requires all off-chain transactions always have v2 and use v1 witness
P2TR outputs (or later witness versions). Transaction inputs, aside from funding
transaction, also must be v1 witness inputs spending P2TR outputs (or above).
Bifrost requires all off-chain transactions always be of version 2. Transaction
outputs which are internal to the channel (i.e. spend by other offchain
transactions participating in channel) MUST use v1 witness P2TR outputs (or
later witness versions). The scripts in taproot key path spends MUST be
miniscript-compatible.

For funding onchain transactions and funding outputs of channel level 1 this
For on-chain funding transactions and funding outputs of channel level 1 this
requirement is released to witness v0 or above. The reason for lower requirement
is the interoperability with the legacy lightning network, allowing migration of
existing channels opened in legacy network to Bifrost.

There is no specific requirements for outputs which are not internal for the
channel.

### Channel coordination

Expand Down

0 comments on commit 4558109

Please sign in to comment.