Commit graph

236 commits

Author SHA1 Message Date
Niko Storni
06e9dd9a98 detect name collisions based on api data
improve mutex usage
remove unnecessary line breaks
2018-09-05 13:44:24 -04:00
Niko Storni
83b0e40ec5 user pointers!
bug fixes
now it works...
2018-09-05 13:44:24 -04:00
Niko Storni
6b4a1b13b4 add size support 2018-09-05 13:44:24 -04:00
Niko Storni
970ea45e19 bug fixes 2018-08-22 10:56:05 -04:00
Niko Storni
0abfa3fa98 avoid spamming slack 2018-08-21 14:07:35 -04:00
Niko Storni
cfa33d59bb fix memory leak
fix missing ptr dereference
add single-run startup param
stop counting channels that aren't actually considered in the sync process
2018-08-21 13:17:56 -04:00
Niko Storni
51e19e097c wait for daemon to fully start 2018-08-20 15:26:55 -04:00
Niko Storni
5258f760a3 fix bug in prefill 2018-08-20 07:59:18 -04:00
Niko Storni
88095bf8ad various bug fixes 2018-08-20 07:59:18 -04:00
Niko Storni
ea7e2707d0 add support for S3 wallets
remove local wallets support
refactored startup and shutdown functions
2018-08-20 07:59:18 -04:00
Niko Storni
dafce6ae84 use channelIDs instead of channel names
add support for custom lbrycrd instance
2018-08-20 07:59:11 -04:00
Niko Storni
41551c8e01 don't publish when running out of space 2018-08-17 14:05:42 -04:00
Niko Storni
e08e1bd3a4 use stop group instead of wait group
refactoring
address reviews
2018-08-14 10:48:59 -04:00
Niko Storni
3e32372dbe fix nastiest bug ever 2018-08-10 08:41:26 -04:00
Niko Storni
1a6f234331 bug fixes 2018-08-09 20:19:51 -04:00
Niko Storni
07a9b96688 small bug fixes 2018-08-09 20:13:53 -04:00
Niko Storni
29d50ec0d2 fix mysterious bug 2018-08-09 20:13:53 -04:00
Niko Storni
d946d6ee76 add function to wait for a new block
bad bug fixes
remove half broken code used to wait for UTXOs
use channel IDs rather than names (skip lbryum)
port changes to UCB uploader
2018-08-09 20:13:53 -04:00
Niko Storni
143f19c59e change utxos confirmation behavior
should make startup faster
bug fixes
2018-08-09 20:13:52 -04:00
Niko Storni
24aca302ff update synced videos map on progress
add locking
fix bugs
2018-08-09 20:13:52 -04:00
Niko Storni
e15476b4f8 fix oversights 2018-08-09 20:13:52 -04:00
Niko Storni
9845ac1181 refactor and fix api response handlers
reinstate redis db to detect inconsistencies
2018-08-09 20:13:52 -04:00
Niko Storni
dfb55cecb5 remove redis dependency
use video statuses
2018-08-09 20:13:52 -04:00
Niko Storni
8d2f942937 add finalized status 2018-08-03 07:02:48 -04:00
Niko Storni
67a666b047 fix typo 2018-08-02 10:37:24 -04:00
Niko Storni
e4d653067e add/update readme 2018-08-02 08:12:45 -04:00
Niko Storni
e5017892d8 add more startup parameters 2018-08-01 08:56:07 -04:00
Niko Storni
f688091775 rename ytsync endpoints
enable video tracking
2018-07-25 13:08:39 -04:00
Niko Storni
302e080b95 address review comments 2018-07-23 20:01:38 -04:00
Niko Storni
dfe3e8a078 rename selfsync to ytsync
add video marking support
2018-07-20 19:56:38 -04:00
Niko Storni
e0ec334af9 remove invalid tests
move functions out of utils
address review comments
revert lockfile changes
2018-07-18 08:47:12 -04:00
Niko Storni
453ba5450b remove common.go
merge sync and selfsync
export sync manager out of cmd package
clean up ytsync.go
address #19 and #20
2018-07-17 12:54:28 -04:00
Niko Storni
b6eb3db397 resolve rebase conflicts 2018-07-12 08:28:24 -04:00
Niko Storni
ad8a9c3003 remove launch parameter
improve failure handling
adjust slack logging
increase file size in string
increase publish timeout to 40 minutes
2018-07-12 08:26:46 -04:00
Niko Storni
920ee956ac fix slack logging
add failure cases
change interrupt behavior for fatal errors
bump up timeout to 20 minutes
change max file size to 2GB
remove unnecessary utxo wait
2018-07-12 08:26:46 -04:00
Niko Storni
9acd4b08c2 supply hostname for job listing
fix download race condition
adjusted error handling
2018-07-12 08:26:45 -04:00
Niko Storni
decb57bbed add concurrency support
fix error handling (FINALLY)
fix slack message formatting
add locking for wallet setup to support concurrency
remove UTXO bug workaround (lbryumx should fix it)
add limits to filesize
2018-07-12 08:26:45 -04:00
Niko Storni
ba5c1c6519 fix selfsync issues with the queue
remove margin for fees
handle non latin names
adjusted error handling
2018-07-12 08:26:45 -04:00
Niko Storni
3bbf46e139 move params to env vars
consider fees of 0.1 while calculating setup funds
add change address to speed up publishing
rebase
2018-07-12 08:26:45 -04:00
Niko Storni
8959393def improve continuos self sync
fix bug in error handling while deleting videos
refactoring of code
2018-07-12 08:24:43 -04:00
Niko Storni
e29a4093ec add clean interruption
change how post requests are made
add better support for channel updates
2018-07-12 08:24:43 -04:00
Niko Storni
47a9b6e0d1 add regtest support
improve error handling
2018-07-12 08:24:43 -04:00
Niko Storni
e4bc1897f3 add disk space check
remove unneeded panics
improve error handling
add tests
fix error checking that was comparing for exact values
sort imports
2018-07-12 08:24:43 -04:00
Niko Storni
923f58767c address more errors
increase room for fees (Jeremy says just pay more)
add code to wait for daemon startup
2018-07-12 08:21:16 -04:00
Niko Storni
a89f5f08d1 increase the margin for fees
decrease number of addresses to use (we fall back to waiting for a block)
2018-07-12 08:21:16 -04:00
Niko Storni
4f8bc81664 added timeout to utxo waiting
added more error handling
2018-07-12 08:21:16 -04:00
Niko Storni
611dcbc3bc add slack logging
reduce claim name length (fees are too high)
delete videos in case of failure too
reduce synced videos to 1000 most recent
2018-07-12 08:21:15 -04:00
Niko Storni
07004be3b4 address more errors for better automation 2018-07-12 08:21:15 -04:00
Niko Storni
94acc180c2 add tests 2018-07-12 08:19:05 -04:00
Niko Storni
6e3a34f0e0 fix wallet refill handler
add slack logging
add PoC for channel fetching
2018-07-12 08:18:58 -04:00