fix claim address, add readme

This commit is contained in:
Alex Grintsvayg 2017-10-11 12:45:56 -04:00
parent 8035d5a3cd
commit 557c1ca8dc
2 changed files with 12 additions and 2 deletions

10
README.md Normal file
View file

@ -0,0 +1,10 @@
# Current YT Sync Process
- start daemon with clean `.lbryum` dir
- `wallet_list` to get an address
- send credits to address. make sure the send is split into 50 or so txns, and that there are enough credits to publish all the videos
- wait for credits to arrive and be confirmed
- run `lbry ytsync YOUTUBE_KEY CHANNEL_ID CHANNEL_NAME --max-tries=5`
- `max-tries` will retry errors that you will undoubtedly get
- after sync is done, stop daemon and move `.lbryum`dir somewhere safe
- mark content synced in doc

View file

@ -72,8 +72,8 @@ func (s *Sync) Go() error {
} else if addresses == nil || len(*addresses) == 0 { } else if addresses == nil || len(*addresses) == 0 {
return errors.New("could not find an address in wallet") return errors.New("could not find an address in wallet")
} }
claimAddress := (*addresses)[0] s.claimAddress = (*addresses)[0]
if claimAddress == "" { if s.claimAddress == "" {
return errors.New("found blank claim address") return errors.New("found blank claim address")
} }