Difference between revisions of "Coin Metrics"

From Sexcoin Wiki
Jump to: navigation, search
(MainNet)
(MainNet)
 
(2 intermediate revisions by the same user not shown)
Line 28: Line 28:
 
hashMerkleRoot      : 0x661de12dc8dd26989adb169733b5a99150d52b8b6e8332976277856e246101f4
 
hashMerkleRoot      : 0x661de12dc8dd26989adb169733b5a99150d52b8b6e8332976277856e246101f4
  
PUBKEY_ADDRESS = 62
+
pubkeyhash/PUBKEY_ADDRESS = 62 (0x3E)
  
SCRIPT_ADDRESS = 69
+
scripthash(P2SH)/SCRIPT_ADDRESS = 69 (0x45)
  
SECRET_KEY    = 190
+
privatekey/SECRET_KEY    = 190 (0xBE)
  
EXT_PUBLIC_KEY = 0x04 0x88 0xB2 0x1E
+
xpubkey/EXT_PUBLIC_KEY = 0x04 0x88 0xB2 0x1E
  
EXT_SECRET_KEY = 0x04 0x88 0xAD 0xE4
+
xprivkey/EXT_SECRET_KEY = 0x04 0x88 0xAD 0xE4
  
 
port    : 9560
 
port    : 9560
Line 49: Line 49:
 
FORK3_HEIGHT 643808
 
FORK3_HEIGHT 643808
  
Protocol_version    : 60703
+
Protocol_version    : 70015
    * TL;DR Sexcoin 60703 == Litecoin/Bitcoin 70003
 
    * this protocol version is version 70003 per Litecoin code, however previous Sexcoin versions reject any
 
    * protocol > 69999 as one defence against our magic-number problem. When these Sexcoin clients are obsoleted,
 
    * we can return to using well-known protocol versions.
 
  
 
==TestNet3==
 
==TestNet3==

Latest revision as of 11:30, 3 April 2019

These are some quick notes taken during development of the coin. This is not an exhaustive list, but it is a good collection of things you need to know when developing services for Sexcoin or working on the Core Base

Location of Important Variables

MAX_MONEY: amount.h

magic numbers: chainparams.cpp

halving: chainparams.cpp

port: chainparams.cpp

nRPCPort: chainparamsbase.cpp

CLIENT_VERSION_IS_RELEASE: configure.ac, clientversion.h, src/config/bitcoin-config.h

protocol version: version.h


MainNet

magic number  : FA CE 69 69

pszTimestamp  : "Disaster from the sky in Oklahoma"

hashGenisisBlock  : 0xf42b9553085a1af63d659d3907a42c3a0052bbfa2693d3acf990af85755f2279

hashMerkleRoot  : 0x661de12dc8dd26989adb169733b5a99150d52b8b6e8332976277856e246101f4

pubkeyhash/PUBKEY_ADDRESS = 62 (0x3E)

scripthash(P2SH)/SCRIPT_ADDRESS = 69 (0x45)

privatekey/SECRET_KEY = 190 (0xBE)

xpubkey/EXT_PUBLIC_KEY = 0x04 0x88 0xB2 0x1E

xprivkey/EXT_SECRET_KEY = 0x04 0x88 0xAD 0xE4

port  : 9560

rpcport : 9561


FORK1_HEIGHT 155000

FORK2_HEIGHT 572000

FORK3_HEIGHT 643808

Protocol_version  : 70015

TestNet3

magic number  : FA CE 96 69

pszTimestamp  : "Disaster from the sky in Oklahoma"

hashGenesisBlock  : 0x73dc70a1698579360b62e724ecfeacfd938f45283162f3cf18f1b9eb3fc9fcd7

PUBKEY_ADDRESS = 124

SCRIPT_ADDRESS = 196

SECRET_KEY = 239

EXT_PUBLIC_KEY = (0x04)(0x35)(0x87)(0xCF)

EXT_SECRET_KEY = (0x04)(0x35)(0x83)(0x94)

port  : 19560

rpcport : 19561