Niko Storni
df1c959878
add datetime boundaries
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
0df643a550
refactor selfsync process
2018-07-12 08:24:44 -04:00
Niko Storni
5a1ba06f4c
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
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
c8eebbfae1
add 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
bf7b7c0ca6
move code to the right place
...
remove unused code
expand slack test
fix formatting
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
c5c66eac14
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
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
e600fb59fa
add fail state
...
add panic/edge cases
add marking channels as completed/failed
2018-07-12 08:19:05 -04:00
Niko Storni
c0be626ef2
add selfsync cmd
...
add tests
add more slack updates
remove unneded test
extract constants to own file
2018-07-12 08:19:05 -04:00
Niko Storni
7754abf1d0
add tests
2018-07-12 08:19:05 -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
Mark
06a20b7d5e
Merge pull request #21 from lbryio/cast_constraint_update
...
changed constraint as it affects internal-apis changes.
2018-07-11 12:43:39 -04:00
Mark Beamer Jr
3199079ffc
changed constraint as it affects internal-apis changes.
2018-07-11 12:36:55 -04:00
Alex Grintsvayg
91202ab6ff
small api fixes
2018-07-11 12:26:14 -04:00
Alex Grintsvayg
5cdcdfdd09
grin's cleanup and some WIP
2018-07-10 17:35:02 -04:00
Jack Robison
a3ac49182c
more
2018-06-29 17:03:59 -04:00
Jack Robison
7b8ab21b6c
expand empty buckets
2018-06-29 13:33:35 -04:00
Alex Grintsvayg
2134a817f3
change bech32 prefix, add genesis hash, write our own DecodeAddress
2018-06-27 16:27:09 -04:00
Jack Robison
1b41525f4b
add BucketRange to bucket struct
...
-initialize the routing table with one bucket covering the entire keyspace
2018-06-26 16:31:29 -04:00
Alex Grintsvayg
11f29a9d9e
export auth errors
2018-06-26 14:32:45 -04:00
Alex Grintsvayg
6fefcc4530
oops
2018-06-26 10:58:19 -04:00
Alex Grintsvayg
821cfb748e
refactor stopgroup to use context, which allows parent/child cancelations
2018-06-26 08:53:48 -04:00
Alex Grintsvayg
4e78c08818
partial switch to new stopgroup. need to refactor to take advantage of child cancelation
2018-06-25 16:49:40 -04:00
Alex Grintsvayg
66ca77b690
remove sendCancelable
2018-06-25 15:56:45 -04:00
Alex Grintsvayg
e534f5b972
correct node_finder to use loose parallelism
2018-06-25 15:48:57 -04:00
Alex Grintsvayg
ea9b181d16
broke out contact into separate file
2018-06-25 13:00:55 -04:00
Alex Grintsvayg
767e4cc548
better nodefinder logging
2018-06-22 09:30:16 -04:00
Alex Grintsvayg
8a620a82a3
minor fixes
2018-06-21 15:06:40 -04:00
Alex Grintsvayg
f61ea53c8c
add token cache
2018-06-21 15:06:40 -04:00
Alex Grintsvayg
766f4f101d
TODO: review this
2018-06-21 15:06:40 -04:00
Alex Grintsvayg
18caec8d40
add proto version to dht
2018-06-21 15:06:40 -04:00
Alex Grintsvayg
1c2175df39
fixed a few channel lockups, fixed announced port in dht, successfully announced and served a blob
2018-06-21 11:26:48 -04:00
Alex Grintsvayg
47a732688d
small test
2018-06-19 14:06:35 -04:00
Alex Grintsvayg
5e346cc21a
cluster automatically balances what nodes are announcing what hashes
2018-06-19 13:47:13 -04:00
Alex Grintsvayg
b19df481da
starting to put together the pieces
...
- prism start command
- more configs for prism when assembling the pieces
- cluster notifies on membership change, determines hash range, announces hashes
2018-06-14 22:30:38 -04:00
Alex Grintsvayg
fc9b05b8c6
move bitmap into separate package
2018-06-14 20:10:44 -04:00
Alex Grintsvayg
5968953d05
fix some stoppers
2018-06-13 12:45:47 -04:00
Alex Grintsvayg
f0762e9c57
fix typo in dependencies
2018-06-13 12:44:09 -04:00
Alex Grintsvayg
de40df28c1
add Link to stop Stopper when an upstream Stopper is stopped
2018-06-13 12:37:21 -04:00
Mark Beamer Jr
63e58248cc
Addressed code reviews.
2018-06-13 09:44:24 -04:00
Mark Beamer Jr
470e3721d0
implemented stopper pattern
...
-made defer adjustments inline and deleted the separate function.
-adjusted method in upload to take the only parameter it requires.
-Implemented stopper param for reflector server
-Aligned Cluster New to NewCluster
-Adjusted DHT to use StopAndWait
-Removed blocking waitgroup add
-Unified all components under prism.
-Moved defer done outside of functions.
-renamed NewCluster to New
-fixed travis errors.
2018-06-13 09:36:44 -04:00
Mark Beamer Jr
8100010220
code cleanup
...
-Added travis support
-updated travis to analyze code beneath the root.
-refactored upload.go to fix travis errors.
-gocyclo should ignore test files. $GOFILES needed to be adjusted.
-fix rows.Close() ignoring error. Created func to handle so defer can be used when needed also.
-fixed ignored errors.
-fixed unit test that was not passing correctly to anonymous function.
-fixed govet error for passing param inside go func.
-removed returned error, in favor of logging instead.
-added error logging for ignored error.
-fixed potential race conditions.
-removed unused append
-fixed time usage to align with go standards.
-removed unused variables
-made changes for code review.
-code comments for exported functions.
-Documented bitmap.go and insert into contact list.
-Documented dht, message, bootstrap
-Fixed comment typos
-Documented message,node, routing_table, testing in DHT package.
-Documented server, client, prism, server and shared in peer and reflector packages.
-Documented the stores in Store package.
-made defer adjustments inline and deleted the separate function.
-adjusted method in upload to take the only parameter it requires.
2018-06-13 09:29:13 -04:00