Comments (9)
Thanks for reporting.
Try now.
from gocoin.
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.
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.
Can you please try again, with the updated gocoin/lib/chain/chain.go ?
from gocoin.
Could you please confirm if "importblocks" tool works fine for you now?
So I can close this issue...
from gocoin.
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.
Trying to build importchain now gives this error:
#command-line-arguments
.\importblocks.go:40: undefined: chain.NewChain\
from gocoin.
You need to checkout the new version of importblocks.go
It doesn't use chain.NewChain anymore, but chain.NewChainExt instead.
from gocoin.
I'm closing this issue, since there have been no more comments.
from gocoin.
Related Issues (20)
- HandleNetBlock does not ensure non-null Block input HOT 3
- definitely bad HOT 1
- How to use wallet binary? HOT 10
- Litecoin M-address support HOT 2
- How can I try to mine with gocoin? HOT 2
- sign transaction and broadcast HOT 4
- add config parameter for last trusted block HOT 4
- crash upon completing initial sync HOT 5
- panic in network.LimitRejectedSize() HOT 4
- decode addr from input script HOT 1
- Any plans to support segwit HOT 1
- Is it using bitcoin blockchain or your own one ? HOT 1
- WHat do you mean by password is seeded ?
- At least 15GB of system RAM, is a lot ! Can it be customized to be used with Redis or any other alternative ?
- Add Godoc comments HOT 2
- Evaluate if contributions are acceptable when the contributor signed a CLA HOT 1
- panic upon receiving a corrupt block HOT 1
- Question about addr handling HOT 4
- TxMinedMeminER1 - counter increase observed
- Getting 0 when trying to get Block.height, Txo.BlockHeight HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gocoin.