Giter VIP home page Giter VIP logo

Comments (9)

piotrnar avatar piotrnar commented on June 18, 2024

Thanks for reporting.
Try now.

from gocoin.

Azulan avatar Azulan commented on June 18, 2024

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x506e47]

goroutine 1 [running]:
github.com/piotrnar/gocoin/lib/chain.NewChainExt(0xc04200e540, 0x3a, 0xc04200298
0, 0xc042048500, 0x0, 0x0)
C:/Users/-/Go/src/github.com/piotrnar/gocoin/lib/chain/chain.go
:84 +0x177
github.com/piotrnar/gocoin/lib/chain.NewChain(0xc04200e540, 0x3a, 0xc042002980,
0xc042048500, 0x50)
C:/Users/-/Go/src/github.com/piotrnar/gocoin/lib/chain/chain.go
:53 +0x58
main.import_blockchain(0xc04200e280, 0x32)
C:/Users/-/Go/src/github.com/piotrnar/gocoin/tools/importblocks
.go:40 +0x9b
main.main()
C:/Users/-/Go/src/github.com/piotrnar/gocoin/tools/importblocks
.go:174 +0x82b

from gocoin.

piotrnar avatar piotrnar commented on June 18, 2024

I'm sorry.

I haven't used this tool for years.
I don't even have the satoshi's blocks database now, to test it with.

from gocoin.

piotrnar avatar piotrnar commented on June 18, 2024

Can you please try again, with the updated gocoin/lib/chain/chain.go ?

from gocoin.

piotrnar avatar piotrnar commented on June 18, 2024

Could you please confirm if "importblocks" tool works fine for you now?
So I can close this issue...

from gocoin.

Azulan avatar Azulan commented on June 18, 2024

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x506e47]

goroutine 1 [running]:
github.com/piotrnar/gocoin/lib/chain.NewChainExt(0xc04200e540, 0x3a, 0xc04200298
0, 0xc042048500, 0x0, 0x0)
C:/Users/-/Go/src/github.com/piotrnar/gocoin/lib/chain/chain.go
:84 +0x177
github.com/piotrnar/gocoin/lib/chain.NewChain(0xc04200e540, 0x3a, 0xc042002980,
0xc042048500, 0x50)
C:/Users/-/Go/src/github.com/piotrnar/gocoin/lib/chain/chain.go
:53 +0x58
main.import_blockchain(0xc04200e280, 0x32)
C:/Users/-/Go/src/github.com/piotrnar/gocoin/tools/importblocks
.go:40 +0x9b
main.main()
C:/Users/-/Go/src/github.com/piotrnar/gocoin/tools/importblocks
.go:174 +0x82b

from gocoin.

Azulan avatar Azulan commented on June 18, 2024

Trying to build importchain now gives this error:

#command-line-arguments
.\importblocks.go:40: undefined: chain.NewChain\

from gocoin.

piotrnar avatar piotrnar commented on June 18, 2024

You need to checkout the new version of importblocks.go

It doesn't use chain.NewChain anymore, but chain.NewChainExt instead.

from gocoin.

piotrnar avatar piotrnar commented on June 18, 2024

I'm closing this issue, since there have been no more comments.

from gocoin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.