Synchronizer main loop & reorg (#82)

* Synchronizer

* mend

Synchronizer main loop & reorg

* mend

Synchronizer main loop & reorg

* mend

Synchronizer main loop & reorg

* Update PR and apply small changes

Update PR and apply small changes:
- Remove arbitrary line jumps (for example after an `err:=` there are cases with extra line before error check, and there are cases without the extra jumpline. Another example is the empty lines between a comment and the line of comment that is explained)
- Fix some typo
- Fix value printing of `lastSavedBlock` instead of `latestBlockNum`
- Uncomment parameters of structs and use linter syntax to avoid unused checks

* Update Synchr after master-pull to last types to compile

Co-authored-by: Toni Ramírez <toni@iden3.com>
Co-authored-by: arnaucube <root@arnaucube.com>
This commit is contained in:
Toni Ramírez
2020-09-06 18:12:52 +02:00
committed by GitHub
parent 4d02308057
commit 9db9508b44
5 changed files with 353 additions and 1 deletions

View File

@@ -21,5 +21,6 @@ jobs:
- name: Test
env:
POSTGRES_PASS: ${{ secrets.POSTGRES_PASS }}
ETHCLIENT_DIAL_URL: ${{ secrets.ETHCLIENT_DIAL_URL }}
GOARCH: ${{ matrix.goarch }}
run: go test ./... -v