-
Notifications
You must be signed in to change notification settings - Fork 7
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
Real-time Sync: Track latest address derivation index #579
base: yse-rt-integrate
Are you sure you want to change the base?
Conversation
46d6f06
to
00cdb98
Compare
449b37f
to
733c084
Compare
00cdb98
to
5903bc3
Compare
733c084
to
eedc673
Compare
5903bc3
to
08abf12
Compare
eedc673
to
84feca6
Compare
84feca6
to
e838e2a
Compare
LAST_DERIVATION_INDEX_DATA_ID, | ||
RecordType::LastDerivationIndex, | ||
// insert a mock updated field so that merging with incoming data works as expected | ||
Some(vec!["last-derivation-index".to_string()]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use LAST_DERIVATION_INDEX_DATA_ID
here?
@@ -105,6 +107,7 @@ impl Record { | |||
SyncData::Chain(_) => "chain-swap", | |||
SyncData::Send(_) => "send-swap", | |||
SyncData::Receive(_) => "receive-swap", | |||
SyncData::LastDerivationIndex(_) => "wallet-address", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use derivation-index
instead? wallet address doesn't seem right
@@ -115,6 +118,7 @@ impl Record { | |||
RecordType::Chain => "chain-swap", | |||
RecordType::Send => "send-swap", | |||
RecordType::Receive => "receive-swap", | |||
RecordType::LastDerivationIndex => "wallet-address", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Based on #555, #556, #568, #578.