Validate cross-chain deposit target#561
Merged
quantumagi merged 19 commits intostratisproject:masterfrom May 25, 2021
Merged
Conversation
fassadlr
reviewed
May 24, 2021
| using TracerAttributes; | ||
|
|
||
| namespace Stratis.Features.FederatedPeg | ||
| namespace Stratis.Bitcoin.Features.Wallet |
Contributor
There was a problem hiding this comment.
Im thinking this might better places in Stratis.Bitcoin so we dont create more project dependencies? Perhaps in a folder under Stratis.Bitcoin called Sidechain or CrossChain?
IMO it is a core class and generic enough to be put there rather. Thoughts?
fassadlr
approved these changes
May 24, 2021
zeptin
pushed a commit
to zeptin/StratisFullNode
that referenced
this pull request
Jun 15, 2021
* Validate cross-chain transaction target * Add more changes * Change validation network * Refactor * Add ValidateCrossChainTransferAddress method * Rename method * Add some comments * Update tests * Add validation to SmartContractTransactionService * Add minimum * Fix spelling * Fix message * Update CirrusAddressValidationNetwork * Add comments * Refactor * Remove whitespace * Test for federation * Move OpReturnDataReader to Stratis.Bitcoin * Add reference
fassadlr
pushed a commit
that referenced
this pull request
Jul 1, 2021
* Validate cross-chain transaction target * Add more changes * Change validation network * Refactor * Add ValidateCrossChainTransferAddress method * Rename method * Add some comments * Update tests * Add validation to SmartContractTransactionService * Add minimum * Fix spelling * Fix message * Update CirrusAddressValidationNetwork * Add comments * Refactor * Remove whitespace * Test for federation * Move OpReturnDataReader to Stratis.Bitcoin * Add reference
fassadlr
pushed a commit
to fassadlr/StratisFullNode
that referenced
this pull request
Jul 2, 2021
* Validate cross-chain transaction target * Add more changes * Change validation network * Refactor * Add ValidateCrossChainTransferAddress method * Rename method * Add some comments * Update tests * Add validation to SmartContractTransactionService * Add minimum * Fix spelling * Fix message * Update CirrusAddressValidationNetwork * Add comments * Refactor * Remove whitespace * Test for federation * Move OpReturnDataReader to Stratis.Bitcoin * Add reference
fassadlr
added a commit
to fassadlr/StratisFullNode
that referenced
this pull request
Jul 2, 2021
fassadlr
added a commit
that referenced
this pull request
Jul 7, 2021
…ransfer target address (#604) * Stress test fixes / InteropBehavior should reply to attached peer / Console Logging * Validate cross-chain deposit target (#561) * Validate cross-chain transaction target * Add more changes * Change validation network * Refactor * Add ValidateCrossChainTransferAddress method * Rename method * Add some comments * Update tests * Add validation to SmartContractTransactionService * Add minimum * Fix spelling * Fix message * Update CirrusAddressValidationNetwork * Add comments * Refactor * Remove whitespace * Test for federation * Move OpReturnDataReader to Stratis.Bitcoin * Add reference * Fix Merge of #561 * Pre Build * Revert Ethereum Address check to be in line with initial interflux branch * Lessen the submission tx confirmation threshold * Fix NodeStats DI * Fix Null requestEthTransactionHash * Remove log * Update InteropPoller.cs * Fix serialization and check if request finalized * Fix Build * Dont serialize Eth Tx Hash * Refactor to request / reply model * Revert threshold * Fix originator logic * Add Ethereum address check to InterFluxOpReturnEncoder (#601) * Fix build from merge * [Interflux] Explicitly specify Enum values for DestinationChain (#602) * Explicitly specify Enum values for DestinationChain * Fix order * Self review Co-authored-by: quantumagi <someguy.fromafrica@gmail.com>
fassadlr
added a commit
that referenced
this pull request
Jul 13, 2021
* Bump Nuget versions * Validate cross-chain deposit target (#561) * Validate cross-chain transaction target * Add more changes * Change validation network * Refactor * Add ValidateCrossChainTransferAddress method * Rename method * Add some comments * Update tests * Add validation to SmartContractTransactionService * Add minimum * Fix spelling * Fix message * Update CirrusAddressValidationNetwork * Add comments * Refactor * Remove whitespace * Test for federation * Move OpReturnDataReader to Stratis.Bitcoin * Add reference * Add Ethereum address check to InterFluxOpReturnEncoder (#601) * Bump version to 1.0.9.1 * [Interflux] Explicitly specify Enum values for DestinationChain (#602) * Explicitly specify Enum values for DestinationChain * Fix order * [InterFlux] Only allow ETH Interflux conversions (#608) * Only allow ETH Interflux conversions * Update src/Stratis.Bitcoin.Features.Wallet/Controllers/WalletController.cs Co-authored-by: zeptin <zeptin@gmail.com> Co-authored-by: zeptin <zeptin@gmail.com> * Add Ethereum address check to InterFluxOpReturnEncoder (#601) * Support legacy ETH conversion OP_RETURNs (#615) * Fix SmartContract History (#596) * Fix SmartContract History * Update GetHistory * Update GetHistory * Update GetHistory * Update query * Update query * Fix column name * Add address filter to wallet service * Fix query * Refactor * Use SC ScriptAddressReader * Refactor Co-authored-by: quantumagi <someguy.fromafrica@gmail.com> Co-authored-by: zeptin <zeptin@gmail.com>
fassadlr
added a commit
that referenced
this pull request
Jul 23, 2021
* Bump Nuget versions * Validate cross-chain deposit target (#561) * Validate cross-chain transaction target * Add more changes * Change validation network * Refactor * Add ValidateCrossChainTransferAddress method * Rename method * Add some comments * Update tests * Add validation to SmartContractTransactionService * Add minimum * Fix spelling * Fix message * Update CirrusAddressValidationNetwork * Add comments * Refactor * Remove whitespace * Test for federation * Move OpReturnDataReader to Stratis.Bitcoin * Add reference * Add Ethereum address check to InterFluxOpReturnEncoder (#601) * Bump version to 1.0.9.1 * [Interflux] Explicitly specify Enum values for DestinationChain (#602) * Explicitly specify Enum values for DestinationChain * Fix order * [InterFlux] Only allow ETH Interflux conversions (#608) * Only allow ETH Interflux conversions * Update src/Stratis.Bitcoin.Features.Wallet/Controllers/WalletController.cs Co-authored-by: zeptin <zeptin@gmail.com> Co-authored-by: zeptin <zeptin@gmail.com> * Add Ethereum address check to InterFluxOpReturnEncoder (#601) * Support legacy ETH conversion OP_RETURNs (#615) * Fix SmartContract History (#596) * Fix SmartContract History * Update GetHistory * Update GetHistory * Update GetHistory * Update query * Update query * Fix column name * Add address filter to wallet service * Fix query * Refactor * Use SC ScriptAddressReader * Refactor * Update network check points (#619) * Update network check points * Fix tests * Only reserve UTXOs once the transaction has been built successfully. (#618) * Update StraxTest.cs (#630) * Update launch script (#638) * Remove Password Check and GETH Check * Signed Script * Contract dynamic swagger endpoint (#527) Co-authored-by: quantumagi <someguy.fromafrica@gmail.com> Co-authored-by: zeptin <zeptin@gmail.com> Co-authored-by: StratisIain <32906542+StratisIain@users.noreply.github.com> Co-authored-by: Rowan de Haas <rowandh@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
There is more going on in this PR than one would expect so here are the reasons for the various changes:
OpReturnDataReaderto where it can be re-used. The legacy class takes aCounterChainNetworkWrapperargument but that is not known within the class's new context, so its changed to take aNetworkargument.BuildTransactionmethods used by Cirrus and Strax.