Skip to content
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: Merge changes to main branch #629

Merged
merged 39 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4346a47
feat(rt-sync): add persistency layer (#555)
hydra-yse Dec 5, 2024
6370d51
feat(rt-sync): add pull and merge (#556)
hydra-yse Dec 5, 2024
d9e0186
feat(rt-sync): add push logic and run method (#568)
hydra-yse Dec 5, 2024
91c4bda
feat(rt-sync): integrate rt-sync with the sdk
hydra-yse Nov 22, 2024
ac5b73c
fix: set initial pulled state to `Recoverable`
hydra-yse Dec 4, 2024
2c906ed
feat(rt-sync): add `last_derivation_index` to sync service
hydra-yse Nov 24, 2024
02bfc71
Single chain source
dangeross Dec 5, 2024
06cd2f1
Handle Recoverable state
dangeross Dec 5, 2024
3b5f02d
fix(rt-sync): chain recovery integration (#590)
dangeross Dec 11, 2024
a85d6af
feat(rt-sync): add `pair_fees_json`
hydra-yse Dec 11, 2024
2a48320
fix(rt-sync): clean already persisted incoming records
hydra-yse Dec 12, 2024
6ce84cb
feat: cache wallet info (#591)
dangeross Dec 12, 2024
eff95a7
log: add status-stream logging for non-local swaps
hydra-yse Dec 12, 2024
bce9e63
Sync improvements (#598)
dangeross Dec 12, 2024
de7c6bb
fix: remove `REPLACE` clause from swap insert/update
hydra-yse Dec 12, 2024
e5ce71a
Merge pull request #600 from breez/rt-sync-swap-update
roeierez Dec 13, 2024
ac5c319
fix(rt-sync): update chain swap payer/receiver amount (#604)
dangeross Dec 13, 2024
ba5b3c3
Fix syncing last derivation index
roeierez Dec 15, 2024
9db421a
fix: update bindings and lockfile
hydra-yse Dec 13, 2024
872182d
remove logs
roeierez Dec 15, 2024
83a3879
Merge pull request #606 from breez/sync-derivation-index
roeierez Dec 15, 2024
1d30703
fix(rt-sync): avoid reuse of derivation index update logic (#608)
hydra-yse Dec 15, 2024
26e7811
Add 5 index buffer to full scan
dangeross Dec 16, 2024
282b347
Fix storing claim_address (#609)
dangeross Dec 16, 2024
04e9611
Filter incoming MRH txs by swap timestamp
dangeross Dec 16, 2024
1957599
Merge pull request #610 from breez/savage-mrh-robustness
roeierez Dec 16, 2024
4976400
fix liquid panding timestamp
roeierez Dec 16, 2024
56efa2c
persist tx data timestamp
roeierez Dec 16, 2024
65fa403
Update unconfirmed transactions
roeierez Dec 17, 2024
d749858
Merge pull request #613 from breez/liquid-pending-timestamp
roeierez Dec 17, 2024
4dc58c2
Merge pull request #616 from breez/upsert-tx-data
roeierez Dec 18, 2024
2c2ff18
feat: add API key (#618)
hydra-yse Dec 19, 2024
70a9aa9
Use configured lazy connect channel in sync service
roeierez Dec 22, 2024
0d434d2
fix: set lower-case header (#624)
hydra-yse Dec 21, 2024
d8ef922
fix error message
roeierez Dec 22, 2024
283e8dc
Merge pull request #627 from breez/sync-connection-settings
roeierez Dec 23, 2024
6af0a1b
Store & Sync LNURL info (#617)
dangeross Dec 23, 2024
9fd6369
Update list payments to include chain swaps with only user lockup (#620)
dangeross Dec 23, 2024
422ae39
fix: bindings
hydra-yse Dec 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,41 @@ jobs:
cd ../cli
cargo clippy -- -D warnings

build:
name: Cargo Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: Swatinem/rust-cache@v2
with:
workspaces: |
lib -> target
cache-on-failure: "true"

- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: "27.2"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- run: cargo build
working-directory: lib

- name: Check git status
env:
GIT_PAGER: cat
run: |
status=$(git status --porcelain)
if [[ -n "$status" ]]; then
echo "Git status has changes"
echo "$status"
git diff
exit 1
else
echo "No changes in git status"
fi

tests:
name: Test sdk-core
runs-on: ubuntu-latest
Expand Down Expand Up @@ -341,4 +376,4 @@ jobs:
rm Cargo.lock
cargo update --package secp256k1-zkp

cargo clippy -- -D warnings
cargo clippy -- -D warnings
Loading
Loading