-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from BP-WG/armor
Support for new ASCII armoring in dependencies
- Loading branch information
Showing
13 changed files
with
100 additions
and
82 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
AnchorMerkleBlockTapretProof rec | ||
txid bytes len=32 aka=Txid | ||
mpcProof rec -- MerkleBlock | ||
mpcProof rec MerkleBlock | ||
depth enum { | ||
_0=0 _1=1 _2=2 _3=3 _4=4 _5=5 _6=6 _7=7 _8=8 | ||
_9=9 _10=10 _11=11 _12=12 _13=13 _14=14 _15=15 _16=16 | ||
_17=17 _18=18 _19=19 _20=20 _21=21 _22=22 _23=23 _24=24 | ||
_25=25 _26=26 _27=27 _28=28 _29=29 _30=30 _31=31 | ||
} -- U5 | ||
U5 _0=0 _1=1 _2=2 _3=3 _4=4 _5=5 _6=6 _7=7 | ||
_8=8 _9=9 _10=10 _11=11 _12=12 _13=13 _14=14 _15=15 | ||
_16=16 _17=17 _18=18 _19=19 _20=20 _21=21 _22=22 _23=23 | ||
_24=24 _25=25 _26=26 _27=27 _28=28 _29=29 _30=30 _31=31 | ||
|
||
} | ||
cofactor is U16 | ||
crossSection list len=0..MAX32 | ||
crossSection list len=1..MAX32 | ||
TreeNode union | ||
concealedNode rec tag=0 | ||
depth enum { | ||
_0=0 _1=1 _2=2 _3=3 _4=4 _5=5 _6=6 _7=7 _8=8 | ||
_9=9 _10=10 _11=11 _12=12 _13=13 _14=14 _15=15 _16=16 | ||
_17=17 _18=18 _19=19 _20=20 _21=21 _22=22 _23=23 _24=24 | ||
_25=25 _26=26 _27=27 _28=28 _29=29 _30=30 _31=31 | ||
} -- U5 | ||
U5 _0=0 _1=1 _2=2 _3=3 _4=4 _5=5 _6=6 _7=7 | ||
_8=8 _9=9 _10=10 _11=11 _12=12 _13=13 _14=14 _15=15 | ||
_16=16 _17=17 _18=18 _19=19 _20=20 _21=21 _22=22 _23=23 | ||
_24=24 _25=25 _26=26 _27=27 _28=28 _29=29 _30=30 _31=31 | ||
|
||
} | ||
hash bytes len=32 aka=MerkleHash | ||
commitmentLeaf rec tag=1 | ||
protocolId bytes len=32 aka=ProtocolId | ||
message bytes len=32 aka=Message | ||
some is U64 option wrapped tag=1 | ||
dbcProof rec -- TapretProof | ||
pathProof rec -- TapretPathProof | ||
some union option wrapped tag=1 -- TapretNodePartner | ||
rightBranch rec wrapped tag=2 -- TapretRightBranch | ||
dbcProof rec TapretProof | ||
pathProof rec TapretPathProof | ||
some union TapretNodePartner option wrapped tag=1 | ||
rightBranch rec TapretRightBranch wrapped tag=2 | ||
nonce is U8 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
AnchorMerkleProofTapretProof rec | ||
txid bytes len=32 aka=Txid | ||
mpcProof rec -- MerkleProof | ||
mpcProof rec MerkleProof | ||
pos is U32 | ||
cofactor is U16 | ||
path list len=0..32 | ||
element bytes len=32 aka=MerkleHash | ||
dbcProof rec -- TapretProof | ||
pathProof rec -- TapretPathProof | ||
some union option wrapped tag=1 -- TapretNodePartner | ||
rightBranch rec wrapped tag=2 -- TapretRightBranch | ||
dbcProof rec TapretProof | ||
pathProof rec TapretPathProof | ||
some union TapretNodePartner option wrapped tag=1 | ||
rightBranch rec TapretRightBranch wrapped tag=2 | ||
nonce is U8 |
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
Binary file not shown.
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