Need Namecoin's correct genesishash and other info to run it

Post Reply
grewalsatinder
Posts: 10
Joined: Mon May 09, 2016 8:43 am

Need Namecoin's correct genesishash and other info to run it

Post by grewalsatinder »

Hi,

I'm trying to run Namecoin with Iguana, and I need some namecoin related information correct. Can you please correct any of the information from this JSON string which is not correct?

Code: Select all

{
  "agent": "iguana",
  "method": "addcoin",
  "newcoin": "NMC",
  "active": 1,
  "maxpeers": 128,
  "services": 0,
  "poll": 1,
  "minconfirms": 3,
  "estblocktime": 600,
  "path": "/Users/satinder/Documents/namecoin_osx/namecoind",
  "conf": "/Users/satinder/Documents/namecoin_osx/namecoin.conf",
  "txfee_satoshis": 500000,
  "useaddmultisig": 1,
  "hastimestamp": 0,
  "userhome": "/Users/satinder/Documents/iguana_native",
  "pubval": "00",
  "scriptval": "05",
  "wiftype": "80",
  "netmagic": "fba4c795",
  "genesishash": "000000000062b72c5e2ceb45fbc8587e807c155b0da735e6483dfba2f0a9c770",
  "genesis": {
    "hashalgo": "sha256",
    "version": 1,
    "timestamp": 1303000001,
    "nbits": "1c007fff",
    "nonce": 2719916434,
    "merkleroot": "41c62dbd9068c89a449525e3cd5ac61b20ece28c3c38b3f35b2161f0e6d3cb0d"
  },
  "p2p": 8834,
  "rpc": 8836
}
Following is the important information I need please:

Code: Select all

"pubval": "00",
  "scriptval": "05",
  "wiftype": "80",
  "netmagic": "fba4c795",
  "genesishash": "000000000062b72c5e2ceb45fbc8587e807c155b0da735e6483dfba2f0a9c770",
  "genesis": {
    "hashalgo": "sha256",
    "version": 1,
    "timestamp": 1303000001,
    "nbits": "1c007fff",
    "nonce": 2719916434,
    "merkleroot": "41c62dbd9068c89a449525e3cd5ac61b20ece28c3c38b3f35b2161f0e6d3cb0d"
  },
Thanks,
Satinder

domob
Posts: 1129
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: Need Namecoin's correct genesishash and other info to ru

Post by domob »

I've not checked the values, partly because I'm not 100% sure what they should be for Iguana, but all of that information should be in the code: https://github.com/namecoin/namecoin-co ... params.cpp
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

grewalsatinder
Posts: 10
Joined: Mon May 09, 2016 8:43 am

Re: Need Namecoin's correct genesishash and other info to ru

Post by grewalsatinder »

domob wrote:I've not checked the values, partly because I'm not 100% sure what they should be for Iguana, but all of that information should be in the code: https://github.com/namecoin/namecoin-co ... params.cpp
Thanks mate!

I'm using following code with iguana now:

Code: Select all

{
  "agent": "iguana",
  "method": "addcoin",
  "newcoin": "NMC",
  "active": 1,
  "maxpeers": 128,
  "services": 0,
  "poll": 1,
  "minconfirms": 3,
  "estblocktime": 600,
  "txfee_satoshis": 500000,
  "useaddmultisig": 1,
  "hastimestamp": 0,
  "pubval": "00",
  "scriptval": "05",
  "wiftype": "80",
  "netmagic": "fba4c795",
  "genesishash": "000000000062b72c5e2ceb45fbc8587e807c155b0da735e6483dfba2f0a9c770",
  "genesis": {
    "hashalgo": "sha256",
    "version": 1,
    "timestamp": 1303000001,
    "nbits": "1c007fff",
    "nonce": 2719916434,
    "merkle_root": "41c62dbd9068c89a449525e3cd5ac61b20ece28c3c38b3f35b2161f0e6d3cb0d"
  },
  "p2p": 8334,
  "rpc": 8836
}
This seems to work. Just doing some troubleshooting with iguana Developer.

With iguana we should have more nodes in Namecoin space soon.

Thanks for help :)

Post Reply