Skip to content

Releases: ehdgua01/blocksync

3.0.0

19 May 04:55
fc1f389
Compare
Choose a tag to compare

ADDED

  • SyncManager

    • Can suspend, resume, cancel synchronization
  • Status

    • Can get rate of synchronization and blocks(same, diff, done)
  • Functions
    All functions return SyncManager and Status but function executed synchronously return None instead of SyncManager

    • local_to_local

      • Sync between local files
    • local_to_remote

      • Sync local file to remote path
    • remote_to_local

      • Sync remote file to local path

CHANGED

  • Function base

    • Functions(local_to_local, local_to_remote, remote_to_local) were added and Classes(Syncer, LocalFile, SFTPFile, etc..) were removed because paramiko.SFTPFile can't apply hash function when getting remote file
  • Improve performance

    • Use hash function when getting remote block data (thank you, @freisei)

2.0.0

21 Apr 09:51
Compare
Choose a tag to compare
Release 2.0.0 🎉

1.2.0

26 Mar 15:24
Compare
Choose a tag to compare

Fix bugs

1.1.0

23 May 07:59
Compare
Choose a tag to compare

ADD

  • get_rate function to get the synchronization rate

UPDATE

  • suspend using threading.Event

1.0.0

22 May 08:59
Compare
Choose a tag to compare
Release 1.1.0