Bitcoin Forum
May 08, 2024, 09:06:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: .1BTC BOUNTY - Need bitcore insight networks.js to work with hempcoin  (Read 3631 times)
killsig (OP)
Full Member
***
Offline Offline

Activity: 228
Merit: 100


View Profile
May 09, 2014, 12:06:42 PM
Last edit: May 09, 2014, 08:10:47 PM by killsig
 #1

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!  Cheesy

networks.js:

Code:
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:
Code:
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
1715159206
Hero Member
*
Offline Offline

Posts: 1715159206

View Profile Personal Message (Offline)

Ignore
1715159206
Reply with quote  #2

1715159206
Report to moderator
1715159206
Hero Member
*
Offline Offline

Posts: 1715159206

View Profile Personal Message (Offline)

Ignore
1715159206
Reply with quote  #2

1715159206
Report to moderator
1715159206
Hero Member
*
Offline Offline

Posts: 1715159206

View Profile Personal Message (Offline)

Ignore
1715159206
Reply with quote  #2

1715159206
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715159206
Hero Member
*
Offline Offline

Posts: 1715159206

View Profile Personal Message (Offline)

Ignore
1715159206
Reply with quote  #2

1715159206
Report to moderator
killsig (OP)
Full Member
***
Offline Offline

Activity: 228
Merit: 100


View Profile
May 09, 2014, 08:11:52 PM
 #2

Bump.. Changed bounty from 50k THC to 0.1 BTC.  Willing to give either as a bounty.
elbandi
Hero Member
*****
Offline Offline

Activity: 525
Merit: 529


View Profile
May 09, 2014, 10:18:38 PM
 #3

https://github.com/bitpay/bitcore/issues/121 :

Quote
Please check insight Readme. You need to set the environment variable: INSIGHT_NETWORK
killsig (OP)
Full Member
***
Offline Offline

Activity: 228
Merit: 100


View Profile
May 09, 2014, 10:21:41 PM
 #4

https://github.com/bitpay/bitcore/issues/121 :

Quote
Please check insight Readme. You need to set the environment variable: INSIGHT_NETWORK

Quote
[historic_sync] ERROR: Bad genesis block. Network mismatch between Insight and bitcoind? Insight is configured for:livenet

I've already set the variable to livenet which is where I'm trying to do the configuration
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!