-
Notifications
You must be signed in to change notification settings - Fork 2
Activities metadata #267
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
Merged
Merged
Activities metadata #267
Changes from 23 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
dff1737
feat: setup activity meta data methods
jvsena42 0a1bf90
feat: implement activity meta data methods
jvsena42 c134c58
Merge branch 'refactor/state-handling-improvement' into feat/activiti…
jvsena42 ee2deec
fix: serialization
jvsena42 8a76e20
Merge branch 'refactor/state-handling-improvement' into feat/activiti…
jvsena42 efd7fa9
Merge branch 'master' into feat/activities-meta-data
jvsena42 1fe1716
fix: lightning activity update
jvsena42 e361050
fix: existingActivity validation
jvsena42 9eef9ba
feat: add metadata to transfer
jvsena42 df151ea
feat: add metadata to transfer
jvsena42 7866d33
chore: update core version
jvsena42 498f45f
refactor: remove bolt11 metadata
jvsena42 92b04a5
refactor: remove bolt11 metadata
jvsena42 051b90a
refactor: remove bolt11 metadata
jvsena42 f5be88a
chore: lint
jvsena42 d820d13
test: sendOnChain should cache activity meta data
jvsena42 16dcf26
chore: lint
jvsena42 f4e21bb
Merge branch 'master' into feat/activities-meta-data
jvsena42 928d337
fix: metadata typo
jvsena42 e415df0
Merge branch 'master' into feat/activities-meta-data
jvsena42 b0576c6
chore: lint
jvsena42 c437452
chore: add comments
jvsena42 b1f974f
refactor: convert TransactionMetadata into a data class
jvsena42 09dcc49
chore: lint
jvsena42 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
13 changes: 13 additions & 0 deletions
13
app/src/main/java/to/bitkit/data/dto/TransactionMetadata.kt
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,13 @@ | ||
| package to.bitkit.data.dto | ||
|
|
||
| import kotlinx.serialization.Serializable | ||
|
|
||
| @Serializable | ||
| data class TransactionMetadata( | ||
| val txId: String, | ||
| val feeRate: UInt, | ||
| val address: String, | ||
| val isTransfer: Boolean, | ||
| val channelId: String?, | ||
| val transferTxId: String?, | ||
| ) |
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
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
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
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
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.
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.