I will give 0.1BTC Bounty to someone that can provide me a networks.js file for bitcore insight that is setup for hempcoin and works.
I've been fighting with it on and off for days. I really want to get this going but don't have the time to fight with it. Not sure if POS causes an issue or not.. My thoughts are POS shouldn't matter for blocks that were POW but I don't know.. I've been coding forever but I'm new to cryptography..
This is the error I get: [historic_sync] ERROR: Bad genesis block. Network mismatch between Insight and bitcoind? Insight is configured for:livenet I did have it connecting and showing some info but I always get this error and the blocks page on insight doesn't show any data besides connections and block height.
This has got to be easy for someone that knows what they are doing. I see other scrypt coins using this explorer.
heeeeeellllp!
networks.js:
exports.livenet = {
name: 'livenet',
addressVersion: 0x23,
magic: hex('a5a5fd01'),
genesisBlock: {
height: 0,
nonce: 880006,
version: 1,
hash: hex('00000dd93ea1774f94a1ac8d26fa5bc165c1bc3d415b9c37ecb8a6ebe5e05fb1'),
prev_hash: buffertools.fill(new Buffer(32), 0),
timestamp: 1389920669,
merkle_root: hex('2362d9763557a78a460e62d6c0439aa6fcf15ca607746e56f1026d922302c0ad'),
bits: 1e0fffff
},
genesisBlockTx: {
outs: [{
v: hex('000000a5a5fd0105'), // 0 THC
s: new Put()
.word8(65) // 65 bytes of data follow
.put(hex('000004000000b15fe0e5eba6b8ec379c5b413dbcc165c15bfa268daca1944f77a13ed90d0000825f0f17a8a16358fed59e2fbfec319b19dd103affc624dea6838aa717e0e24e3c3b1753ffff0f1e000e5bb201'))
.word8(0xAC) // OP_CHECKSIG
.buffer()
}],
lock_time: 0,
version: 1,
hash: hex('2362d9763557a78a460e62d6c0439aa6fcf15ca607746e56f1026d922302c0ad'),
ins: [{
q: 0xFFFFFFFF,
o: hex("0d000101000000c4bf145301000000000000000000000000000000000000000000000000"),
s: new Put()
.put(hex('00000000000000ff'))
.put(new Buffer('Inhale, exhale, just got an oz in the mail...', 'ascii'))
.buffer()
}]
},
proofOfWorkLimit: hex("00000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"),
checkpoints: [], // need to put checkpoint blocks here
addressPubkey: 35,
addressScript: 5,
keySecret: 128,
};
Genesis Block Hex Dump:
00000000 a5 a5 fd 01 c8 00 00 00 01 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 ad c0 02 23 |...............#|
00000030 92 6d 02 f1 56 6e 74 07 a6 5c f1 fc a6 9a 43 c0 |.m..Vnt..\....C.|
00000040 d6 62 0e 46 8a a7 57 35 76 d9 62 23 c4 bf 14 53 |.b.F..W5v.b#...S|
00000050 ff ff 0f 1e 86 6d 0d 00 01 01 00 00 00 c4 bf 14 |.....m..........|
00000060 53 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |S...............|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 ff ff ff ff 36 04 ff ff 00 1d 02 0f 27 2d |......6.......'-|
00000090 49 6e 68 61 6c 65 2c 20 65 78 68 61 6c 65 2c 20 |Inhale, exhale, |
000000a0 6a 75 73 74 20 67 6f 74 20 61 6e 20 6f 7a 20 69 |just got an oz i|
000000b0 6e 20 74 68 65 20 6d 61 69 6c 2e 2e 2e ff ff ff |n the mail......|
000000c0 ff 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000d0 a5 a5 fd 01 05 01 00 00 04 00 00 00 b1 5f e0 e5 |............._..|
000000e0 eb a6 b8 ec 37 9c 5b 41 3d bc c1 65 c1 5b fa 26 |....7.[A=..e.[.&|
000000f0 8d ac a1 94 4f 77 a1 3e d9 0d 00 00 82 5f 0f 17 |....Ow.>....._..|
00000100 a8 a1 63 58 fe d5 9e 2f bf ec 31 9b 19 dd 10 3a |..cX.../..1....:|
00000110 ff c6 24 de a6 83 8a a7 17 e0 e2 4e 3c 3b 17 53 |..$........N<;.S|
00000120 ff ff 0f 1e 00 0e 5b b2 01 01 00 00 |......[.....|
0000012c