Skip to content

Instantly share code, notes, and snippets.

View arshbot's full-sized avatar
🖥️
11100010 10011010 10100001

Harsha Goli arshbot

🖥️
11100010 10011010 10100001
View GitHub Profile
@t-bast
t-bast / splice-flows.md
Last active October 2, 2023 13:57
Alternative splicing specification proposal with detailed examples

Splice specification proposal

This gist details various splicing protocol flows as they are currently implemented in eclair. We detail the exact flow of messages for each scenario, which should help the review process.

Terminology

We call "active commitments" the set of valid commitment transactions to which updates (update_add_htlc, update_fulfill_htlc, update_fail_htlc, update_fail_malformed_htlc, update_fee) must be applied. While a funding transaction is unconfirmed, updates must be valid for all active commitments.

pragma solidity ^0.4.19;
/**
* @title NonFungibleTokenLib
* @author Ghilia Weldesselasie
* SHAMELESS SELF-PLUG: https://github.com/ERC-ME/Whitepaper
*
* version 1.2.1
* Copyright (c) 2018 Ghilia Weldesselasie
* The MIT License (MIT)