Skip to content

v0.7.0-rc.8

Choose a tag to compare

@coreyphillips coreyphillips released this 14 Jan 22:46
9ecb558

This Release:
Adds the ability to change wallet sync intervals at runtime after node.start() to reduce battery usage on mobile devices (Android foreground services).

  • Adds RuntimeSyncIntervals struct with battery_saving() preset
  • Adds Node::update_sync_intervals() and current_sync_intervals() methods
  • Uses tokio::sync::watch channels to propagate config changes to sync loop
  • Adds BackgroundSyncNotEnabled error for when background sync is disabled