-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate funding stream addresses (#3040)
* validate funding stream addresses * simplify a bit funder stream address check * add integer division code comment * document constant * replace some unwraps * fix some doc comments * check at least one output has calculated address and amount * create a convinient storage for funding stream addresses * replace some unwraps * docs: change `7.7` protocol sections to `7.8` * change errors text * change function name * refactor `FundingStreamReceiver::receivers()` * refactor FUNDING_STREAM_ADDRESSES Co-authored-by: Janito Vaqueiro Ferreira Filho <[email protected]> * remove a `clone()` Co-authored-by: Janito Vaqueiro Ferreira Filho <[email protected]> * fix consensus rule check * use a constant for testnet first halving height Co-authored-by: teor <[email protected]> Co-authored-by: Janito Vaqueiro Ferreira Filho <[email protected]> Co-authored-by: teor <[email protected]>
- Loading branch information
1 parent
d6f3b3d
commit d321e8f
Showing
7 changed files
with
342 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.