-
Notifications
You must be signed in to change notification settings - Fork 25
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
Feature/powpeg validation protocol integration #374
base: master
Are you sure you want to change the base?
Feature/powpeg validation protocol integration #374
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
00b0319
to
dbd0236
Compare
TransactionListener listener = watched.getListener(); | ||
Wallet watchedFederationWallet = new BridgeBtcWallet(btcContextThin, Collections.singletonList(watchedFederation)); | ||
|
||
if (PegUtilsLegacy.isValidPegInTx(btcTx, watchedFederation, watchedFederationWallet, bridgeConstants, federatorSupport.getConfigForBestBlock())) { |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
PegUtilsLegacy.isValidPegInTx
listener.onTransaction(tx); | ||
} | ||
|
||
if (PegUtilsLegacy.isPegOutTx(btcTx, Collections.singletonList(watchedFederation), federatorSupport.getConfigForBestBlock())) { |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
PegUtilsLegacy.isPegOutTx
* </p> | ||
* | ||
* @param currentBlockNumber the current block number in the blockchain | ||
* @param svpTxHash the Keccak256 hash of the svp spend transaction waiting to be signed |
Check notice
Code scanning / CodeQL
Spurious Javadoc @param tags Note
Federation expectedFederation = createP2shErpFederation( | ||
getFederationMembersFromPks(1, 1000, 2000, 3000, 4000, 5000)); | ||
Address expectedFederationAddress = expectedFederation.getAddress(); | ||
Integer federationSize = 5; |
Check warning
Code scanning / CodeQL
Boxed variable is never null Warning test
dbd0236
to
1fa8546
Compare
1fa8546
to
7aaee31
Compare
…ventLoggerImpl in tests
…void using Optional as parameters
…e federation when starting
…implementation without Optional
…stop client methods
…the new federation should throw exception
…rt of new federationa and fix the rest of exisiting tests to accomdate new condition
…e to build federation after validating the federation size
…ses in FederationWatcherTest
… implementing an anoymous class per test
…ation to follow chrono order
… can register the svp spend tx
… logic to register svp spend tx
7aaee31
to
7231fa9
Compare
Quality Gate passedIssues Measures |
Changes needed to implement SVP, described in RSKIP419
Description
Implementation of the Powpeg Spendability Validation Protocol, as described in RSKIP419
Types of changes
rskj:feature/powpeg_validation_protocol-integration
rit:disable-rskip419