Commit graph

79 commits

Author SHA1 Message Date
Niko Storni
6175202405
continued refactoring 2018-10-02 20:53:54 -04:00
Niko Storni
0c268039c1
pair programming follow up 2018-10-02 20:53:54 -04:00
Alex Grintsvayg
e9f34c977e
grin/niko coworking changes 2018-10-02 20:53:53 -04:00
Niko Storni
f2d9d1a486
improve startup
bug fix
2018-09-26 16:27:32 -04:00
Niko Storni
53778a3e4e
add dupes patcher and database patcher
add claim_abandon function
refactor logic
2018-09-26 16:27:32 -04:00
Niko Storni
c8d6393c10
completely remove redis db dependency
improve download process
2018-09-26 16:27:32 -04:00
Niko Storni
041c0cf056
improve/fix duplicates detection 2018-09-26 16:27:32 -04:00
Niko Storni
6212682e6b
align failure reason with new ytlib 2018-09-26 16:27:32 -04:00
Niko Storni
2cd2bb6d69
adjust bugs 2018-09-05 13:44:25 -04:00
Niko Storni
f918f90853
update response signature
add dupes check
add de-sync checks
2018-09-05 13:44:24 -04:00
Niko Storni
c51ed5612d
fix failure case 2018-09-05 13:44:24 -04:00
Niko Storni
6b65cb115a
detect name collisions based on api data
improve mutex usage
remove unnecessary line breaks
2018-09-05 13:44:24 -04:00
Niko Storni
697a6ad6bb
user pointers!
bug fixes
now it works...
2018-09-05 13:44:24 -04:00
Niko Storni
559d80cf3f
add size support 2018-09-05 13:44:24 -04:00
Niko Storni
f05522a308
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
b970af7b7d
wait for daemon to fully start 2018-08-20 15:26:55 -04:00
Niko Storni
758b68c751
various bug fixes 2018-08-20 07:59:18 -04:00
Niko Storni
b6d71e385a
add support for S3 wallets
remove local wallets support
refactored startup and shutdown functions
2018-08-20 07:59:18 -04:00
Niko Storni
f434232cae
use channelIDs instead of channel names
add support for custom lbrycrd instance
2018-08-20 07:59:11 -04:00
Niko Storni
86adadb8a1
don't publish when running out of space 2018-08-17 14:05:42 -04:00
Niko Storni
38c1883dde
use stop group instead of wait group
refactoring
address reviews
2018-08-14 10:48:59 -04:00
Niko Storni
37c15954c0
small bug fixes 2018-08-09 20:13:53 -04:00
Niko Storni
3a51ea9b76
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
3956e0dc94
update synced videos map on progress
add locking
fix bugs
2018-08-09 20:13:52 -04:00
Niko Storni
630ca87f9d
fix oversights 2018-08-09 20:13:52 -04:00
Niko Storni
b3f7f93f5f
refactor and fix api response handlers
reinstate redis db to detect inconsistencies
2018-08-09 20:13:52 -04:00
Niko Storni
c428b5ef77
remove redis dependency
use video statuses
2018-08-09 20:13:52 -04:00
Niko Storni
efbd253ef3
fix typo 2018-08-02 10:37:24 -04:00
Niko Storni
7a3d2bf4bc
add more startup parameters 2018-08-01 08:56:07 -04:00
Niko Storni
4bc9c48504
rename ytsync endpoints
enable video tracking
2018-07-25 13:08:39 -04:00
Niko Storni
7322d4013c
address review comments 2018-07-23 20:01:38 -04:00
Niko Storni
915862c324
rename selfsync to ytsync
add video marking support
2018-07-20 19:56:38 -04:00
Niko Storni
f800e77e4c
remove invalid tests
move functions out of utils
address review comments
revert lockfile changes
2018-07-18 08:47:12 -04:00
Niko Storni
dfa3bb1b19
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
45bb0f2014
resolve rebase conflicts 2018-07-12 08:28:24 -04:00
Niko Storni
3cf504d16a
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
d596240099
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
50d24ead95
supply hostname for job listing
fix download race condition
adjusted error handling
2018-07-12 08:26:45 -04:00
Niko Storni
2f615df34d
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
659a20a5ba
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
6fb792f80c
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
744021cfbc
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
d0cfcaa3e5
add regtest support
improve error handling
2018-07-12 08:24:43 -04:00
Niko Storni
788857d2c3
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
42deb1d29d
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
7776b3a592
added timeout to utxo waiting
added more error handling
2018-07-12 08:21:16 -04:00
Niko Storni
34bb0baa4a
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
b9f302e316
address more errors for better automation 2018-07-12 08:21:15 -04:00
Niko Storni
efd6a4b620
fix wallet refill handler
add slack logging
add PoC for channel fetching
2018-07-12 08:18:58 -04:00
Alex Grintsvayg
821cfb748e
refactor stopgroup to use context, which allows parent/child cancelations 2018-06-26 08:53:48 -04:00