-
Notifications
You must be signed in to change notification settings - Fork 4
Add SDK utility for off-chain operations #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yinyiqian1
wants to merge
19
commits into
XRPLF:main
Choose a base branch
from
yinyiqian1:mpt-utility
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,681
−1
Open
Changes from 8 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
c9f89b0
add app layer
yinyiqian1 497164d
use correct hash size
yinyiqian1 fbfc46a
Add tmp console app
yinyiqian1 73d2a49
add more functions and tests
yinyiqian1 b3513b0
add clang-format and apply to the utility layer
yinyiqian1 397bf58
remove binary exposure
yinyiqian1 fb8856a
use pre-processor to define the consts
yinyiqian1 cc0f66e
add clang-format, only applied to utility yet
yinyiqian1 5fb23b9
address comments
yinyiqian1 c622694
resolve comments
yinyiqian1 0c21222
resolve CI issue
yinyiqian1 aadc363
add new line in cmakelist
yinyiqian1 2059217
add empty line in cmakelist
yinyiqian1 5fc6304
resolve copilot comments
yinyiqian1 768a363
adapt to rippled change to uncompressed 33-byte key
yinyiqian1 f2f5a0b
update generate blinding factor
yinyiqian1 65eaa4c
Stick to C style in header file
yinyiqian1 9024327
use C++ style helper in test file
yinyiqian1 1e332dc
support range proof
yinyiqian1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| --- | ||
| Language: Cpp | ||
| Standard: Cpp11 | ||
|
|
||
| ColumnLimit: 100 | ||
| IndentWidth: 4 | ||
| TabWidth: 4 | ||
| UseTab: Never | ||
| AccessModifierOffset: -4 | ||
|
|
||
| BreakBeforeBraces: Custom | ||
| BraceWrapping: | ||
| AfterClass: true | ||
| AfterControlStatement: true | ||
| AfterEnum: false | ||
| AfterFunction: true | ||
| AfterNamespace: false | ||
| AfterStruct: true | ||
| AfterUnion: true | ||
| BeforeCatch: true | ||
| BeforeElse: true | ||
| IndentBraces: false | ||
|
|
||
| AlignAfterOpenBracket: AlwaysBreak | ||
| AlignConsecutiveAssignments: false | ||
| AlignConsecutiveDeclarations: false | ||
| AlignEscapedNewlinesLeft: true | ||
| AlignOperands: false | ||
| AlignTrailingComments: true | ||
| AllowAllParametersOfDeclarationOnNextLine: false | ||
| AllowShortBlocksOnASingleLine: false | ||
| AllowShortCaseLabelsOnASingleLine: false | ||
| AllowShortFunctionsOnASingleLine: false | ||
| AllowShortIfStatementsOnASingleLine: false | ||
| AllowShortLoopsOnASingleLine: false | ||
|
|
||
| # --- Breaking --- | ||
| AlwaysBreakAfterReturnType: All | ||
| AlwaysBreakBeforeMultilineStrings: true | ||
| AlwaysBreakTemplateDeclarations: true | ||
| BreakBeforeBinaryOperators: false | ||
| BreakBeforeTernaryOperators: true | ||
| BreakConstructorInitializersBeforeComma: true | ||
|
|
||
| # --- Includes --- | ||
| SortIncludes: true | ||
| IncludeBlocks: Regroup | ||
|
|
||
| # --- Advanced --- | ||
| BinPackArguments: false | ||
| BinPackParameters: false | ||
| ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
| ConstructorInitializerIndentWidth: 4 | ||
| ContinuationIndentWidth: 4 | ||
| Cpp11BracedListStyle: true | ||
| DerivePointerAlignment: false | ||
| DisableFormat: false | ||
| ExperimentalAutoDetectBinPacking: false | ||
| IndentCaseLabels: true | ||
| IndentFunctionDeclarationAfterType: false | ||
| IndentRequiresClause: true | ||
| IndentWrappedFunctionNames: false | ||
| NamespaceIndentation: None | ||
| PenaltyBreakBeforeFirstCallParameter: 1 | ||
| PenaltyBreakComment: 300 | ||
| PenaltyBreakFirstLessLess: 120 | ||
| PenaltyBreakString: 1000 | ||
| PenaltyExcessCharacter: 1000000 | ||
| PenaltyReturnTypeOnItsOwnLine: 200 | ||
| PointerAlignment: Left | ||
| ReflowComments: true | ||
| RequiresClausePosition: OwnLine | ||
| SpaceAfterCStyleCast: false | ||
| SpaceBeforeAssignmentOperators: true | ||
| SpaceBeforeParens: ControlStatements | ||
| SpaceInEmptyParentheses: false | ||
| SpacesBeforeTrailingComments: 2 | ||
| SpacesInAngles: false | ||
| SpacesInContainerLiterals: true | ||
| SpacesInCStyleCastParentheses: false | ||
| SpacesInParentheses: false | ||
| SpacesInSquareBrackets: false | ||
| QualifierAlignment: Right | ||
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.