-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [#1500] Trx resubmission - The wallet now periodically resubmits unmined sent transactions to lightwalletd that are still within their expiry window - The Compact block processor's state machine has been extended to check this state periodically at the beginning of every new sync cycle and after processing every block batch, which is currently 1000 blocks - This also brings changes in Exception definition. TransactionSubmitException now belongs under LightWalletException. - These changes thus partially address #1484 as well - Closes #1500 - Changelog update * Bump library version - So we can adopt the snapshot version for testing within wallets * Add constant to query
- Loading branch information
Showing
10 changed files
with
170 additions
and
36 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
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
9 changes: 8 additions & 1 deletion
9
sdk-lib/src/main/java/cash/z/ecc/android/sdk/internal/model/EncodedTransaction.kt
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,10 +1,17 @@ | ||
package cash.z.ecc.android.sdk.internal.model | ||
|
||
import cash.z.ecc.android.sdk.internal.ext.toHexReversed | ||
import cash.z.ecc.android.sdk.model.BlockHeight | ||
import cash.z.ecc.android.sdk.model.FirstClassByteArray | ||
|
||
internal data class EncodedTransaction( | ||
val txId: FirstClassByteArray, | ||
val raw: FirstClassByteArray, | ||
val expiryHeight: BlockHeight? | ||
) | ||
) { | ||
override fun toString() = "EncodedTransaction" | ||
|
||
fun txIdString(): String { | ||
return txId.byteArray.toHexReversed() | ||
} | ||
} |
Oops, something went wrong.