2

I run a stellar node using the docker quickstart image and due to some syncing error the underlying ec2 instance was terminated and restarted on 2018-12-28T10:45:19Z, state of core is Synced.

However, if I query /accounts/{account_id}/trades on the local horizon instance I only get trades after that restarting date.

When I run /metrics it shows a very recent elder_ledger (around that time horizon was launched). When i run horizon db backfill i get:

panic: runtime error: index out of range

goroutine 1 [running]:
main.glob..func1(0x13b1600, 0x1414450, 0x0, 0x0)
    /home/travis/gopath/src/github.com/stellar/go/services/horizon/db.go:35 +0x18d
github.com/stellar/go/vendor/github.com/spf13/cobra.(*Command).execute(0x13b1600, 0x1414450, 0x0, 0x0, 0x13b1600, 0x1414450)
    /home/travis/gopath/src/github.com/stellar/go/vendor/github.com/spf13/cobra/command.go:603 +0x241
github.com/stellar/go/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc0000e5440, 0xc000028118, 0x0, 0xc000133f70)
    /home/travis/gopath/src/github.com/stellar/go/vendor/github.com/spf13/cobra/command.go:689 +0x2cc
github.com/stellar/go/vendor/github.com/spf13/cobra.(*Command).Execute(0xc0000e5440, 0xc000133f88, 0xc000028118)
    /home/travis/gopath/src/github.com/stellar/go/vendor/github.com/spf13/cobra/command.go:648 +0x2b
main.main()
    /home/travis/gopath/src/github.com/stellar/go/services/horizon/main.go:23 +0x2d

How can I sync my horizon to show stuff prior to launching the node?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.