Commit eed614b
committed
Add a LogicalMessage to use in PeerManager
Splicing introduces a concept of batched commitment_signed messages for
each pending splice transaction. These can be treated as one logical
message, even though the protocol currently defines them as separate
commitment_signed messages with a TLV for batch information.
Add a LogicalMessage wrapper around wire::Message such that it can be
used internally by PeerManager. A CommitmentSignedBatch variant will be
added in the next commit.1 parent 00bfb05 commit eed614b
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
858 | 858 | | |
859 | 859 | | |
860 | 860 | | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
861 | 865 | | |
862 | 866 | | |
863 | 867 | | |
| |||
1645 | 1649 | | |
1646 | 1650 | | |
1647 | 1651 | | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
1652 | 1657 | | |
1653 | 1658 | | |
1654 | 1659 | | |
| |||
1662 | 1667 | | |
1663 | 1668 | | |
1664 | 1669 | | |
1665 | | - | |
| 1670 | + | |
1666 | 1671 | | |
1667 | 1672 | | |
1668 | 1673 | | |
| |||
1774 | 1779 | | |
1775 | 1780 | | |
1776 | 1781 | | |
1777 | | - | |
| 1782 | + | |
1778 | 1783 | | |
1779 | 1784 | | |
1780 | 1785 | | |
| |||
0 commit comments