Guest User

config multichain

a guest
Mar 6th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.58 KB | None | 0 0
  1. # ==== MultiChain configuration file ====
  2.  
  3. # Created by multichain-util
  4. # Protocol version: 20002
  5.  
  6. # This parameter set is VALID.
  7. # To join network please run "multichaind bit".
  8.  
  9. # The following parameters can only be edited if this file is a prototype of another configuration file.
  10. # Please run "multichain-util clone bit <new-network-name>" to generate new network.
  11.  
  12.  
  13. # Basic chain parameters
  14.  
  15. chain-protocol = bitcoin # Chain protocol: multichain (permissions, native assets) or bitcoin
  16. chain-description = MultiChain bit # Chain description, embedded in genesis block coinbase, max 90 chars.
  17. root-stream-name = root # Root stream name, blank means no root stream.
  18. root-stream-open = true # Allow anyone to publish in root stream
  19. chain-is-testnet = false # Content of the 'testnet' field of API responses, for compatibility.
  20. target-block-time = 15 # Target time between blocks (transaction confirmation delay), seconds. (2 - 86400)
  21. maximum-block-size = 8388608 # Maximum block size in bytes. (5000 - 1000000000)
  22.  
  23. # Global permissions
  24.  
  25. anyone-can-connect = true # Anyone can connect, i.e. a publicly readable blockchain.
  26. anyone-can-send = true # Anyone can send, i.e. transaction signing not restricted by address.
  27. anyone-can-receive = true # Anyone can receive, i.e. transaction outputs not restricted by address.
  28. anyone-can-receive-empty = true # Anyone can receive empty output, i.e. without permission grants, asset transfers and zero native currency.
  29. anyone-can-create = true # Anyone can create new streams.
  30. anyone-can-issue = true # Anyone can issue new native assets.
  31. anyone-can-mine = true # Anyone can mine blocks (confirm transactions).
  32. anyone-can-activate = true # Anyone can grant or revoke connect, send and receive permissions.
  33. anyone-can-admin = true # Anyone can grant or revoke all permissions.
  34. support-miner-precheck = true # Require special metadata output with cached scriptPubKey for input, to support advanced miner checks.
  35. allow-arbitrary-outputs = true # Allow arbitrary (without clear destination) scripts.
  36. allow-p2sh-outputs = true # Allow pay-to-scripthash (P2SH) scripts, often used for multisig. Ignored if allow-arbitrary-outputs=true.
  37. allow-multisig-outputs = true # Allow bare multisignature scripts, rarely used but still supported. Ignored if allow-arbitrary-outputs=true.
  38.  
  39. # Consensus requirements
  40.  
  41. setup-first-blocks = 60 # Length of initial setup phase in blocks, in which mining-diversity,
  42. # admin-consensus-* and mining-requires-peers are not applied. (1 - 31536000)
  43. mining-diversity = 0.3 # Miners must wait <mining-diversity>*<active miners> between blocks. (0 - 1)
  44. admin-consensus-upgrade = 0.5 # <admin-consensus-upgrade>*<active admins> needed to upgrade the chain. (0 - 1)
  45. admin-consensus-admin = 0.5 # <admin-consensus-admin>*<active admins> needed to change admin perms. (0 - 1)
  46. admin-consensus-activate = 0.5 # <admin-consensus-activate>*<active admins> to change activate perms. (0 - 1)
  47. admin-consensus-mine = 0.5 # <admin-consensus-mine>*<active admins> to change mining permissions. (0 - 1)
  48. admin-consensus-create = 0.0 # <admin-consensus-issue>*<active admins> to change create permissions. (0 - 1)
  49. admin-consensus-issue = 0.0 # <admin-consensus-issue>*<active admins> to change issue permissions. (0 - 1)
  50.  
  51. # Defaults for node runtime parameters
  52.  
  53. lock-admin-mine-rounds = 10 # Ignore forks that reverse changes in admin or mine permissions after this many mining rounds have passed. Integer only. (0 - 10000)
  54. mining-requires-peers = true # Nodes only mine blocks if connected to other nodes (ignored if only one permitted miner).
  55. mine-empty-rounds = 10 # Mine this many rounds of empty blocks before pausing to wait for new transactions. If negative, continue indefinitely (ignored if target-adjust-freq>0). Non-integer allowed. (-1 - 1000)
  56. mining-turnover = 0.5 # Prefer pure round robin between a subset of active miners to minimize forks (0.0) or random equal participation for all permitted miners (1.0). (0 - 1)
  57.  
  58. # Native blockchain currency (likely not required)
  59.  
  60. initial-block-reward = 10000000 # Initial block mining reward in raw native currency units. (0 - -1486618624)
  61. first-block-reward = 10000000 # Different mining reward for first block only, ignored if negative. (-1 - -1486618624)
  62. reward-halving-interval = 52560000 # Interval for halving of mining rewards, in blocks. (60 - 1000000000)
  63. reward-spendable-delay = 1 # Delay before mining reward can be spent, in blocks. (1 - 100000)
  64. minimum-per-output = 0 # Minimum native currency per output (anti-dust), in raw units.
  65. # If set to -1, this is calculated from minimum-relay-fee. (-1 - 1000000000)
  66. maximum-per-output = 100000000000000 # Maximum native currency per output, in raw units. (0 - -1486618624)
  67. minimum-relay-fee = 0 # Minimum transaction fee, per 1000 bytes, in raw units of native currency. (0 - 1000000000)
  68. native-currency-multiple = 100000000 # Number of raw units of native currency per display unit. (0 - 1000000000)
  69.  
  70. # Advanced mining parameters
  71.  
  72. skip-pow-check = false # Skip checking whether block hashes demonstrate proof of work.
  73. pow-minimum-bits = 8 # Initial and minimum proof of work difficulty, in leading zero bits. (1 - 32)
  74. target-adjust-freq = -1 # Interval between proof of work difficulty adjustments, in seconds, if negative - never adjusted. (-1 - -1)
  75. allow-min-difficulty-blocks = false # Allow lower difficulty blocks if none after 2*<target-block-time>.
  76.  
  77. # Standard transaction definitions
  78.  
  79. only-accept-std-txs = true # Only accept and relay transactions which qualify as 'standard'.
  80. max-std-tx-size = 4194304 # Maximum size of standard transactions, in bytes. (1024 - 100000000)
  81. max-std-op-returns-count = 10 # Maximum number of OP_RETURN metadata outputs in standard transactions. (0 - 1024)
  82. max-std-op-return-size = 2097152 # Maximum size of OP_RETURN metadata in standard transactions, in bytes. (0 - 67108864)
  83. max-std-op-drops-count = 5 # Maximum number of OP_DROPs per output in standard transactions. (0 - 100)
  84. max-std-element-size = 8192 # Maximum size of data elements in standard transactions, in bytes. (128 - 32768)
  85.  
  86. # The following parameters were generated by multichain-util.
  87. # They SHOULD ONLY BE EDITED IF YOU KNOW WHAT YOU ARE DOING.
  88.  
  89. default-network-port = 8333 # Default TCP/IP port for peer-to-peer connection with other nodes.
  90. default-rpc-port = 8332 # Default TCP/IP port for incoming JSON-RPC API requests.
  91. chain-name = bit # Chain name, used as first argument for multichaind and multichain-cli.
  92. protocol-version = 20002 # Protocol version at the moment of blockchain genesis.
  93. network-message-start = f3dbc0e0 # Magic value sent as the first 4 bytes of every peer-to-peer message.
  94. address-pubkeyhash-version = 00d7683d # Version bytes used for pay-to-pubkeyhash addresses.
  95. address-scripthash-version = 05572827 # Version bytes used for pay-to-scripthash addresses.
  96. private-key-version = 80f25032 # Version bytes used for exporting private keys.
  97. address-checksum-value = 79bc901b # Bytes used for XOR in address checksum calculation.
  98.  
  99. # The following parameters were generated by multichaind.
  100. # They SHOULD NOT BE EDITED.
  101.  
  102. genesis-pubkey = 03b2dd8726568780be48beb7edffbca1c0085ac3c69eb1ae7be915ca537005f82e # Genesis block coinbase output public key.
  103. genesis-version = 1 # Genesis block version.
  104. genesis-timestamp = 1520349672 # Genesis block timestamp.
  105. genesis-nbits = 536936447 # Genesis block difficulty (nBits).
  106. genesis-nonce = 379 # Genesis block nonce.
  107. genesis-pubkey-hash = 5cd9d8f6f87e7b36552b270f1c253d7cdf7e9a49 # Genesis block coinbase output public key hash.
  108. genesis-hash = 009eae292069eeed430ba77ae82313f005e98774d39e702c68cdfdcd33a34ab8 # Genesis block hash.
  109. chain-params-hash = 43e6d83defc3383f44f6ec018cc6ee6e652e393fbfb20edd981b02ff9176f289 # Hash of blockchain parameters, to prevent accidental changes.
Advertisement
Add Comment
Please, Sign In to add comment