If I run a blockchain with params below
the command
> multichain-cli catena publish root t1 ae
outputs
{"method":"publish","params":[
"root","t1","ae"],"id":1,"chain_name":"catena"}
error code: -4
error message:
No unspent outputs are available. Please send a transaction, with zero amount, to this node or address first and wait for its confirmation.
If instead I put
mine-empty-rounds = -1
or
mine-empty-rounds = n, n>0 (e.g. 5)
taking all other parameters the same it works fine.
What is the problem?
# ==== MultiChain configuration file ====
# Created by multichain-util
# Protocol version: 10007
# This parameter set is VALID.
# Basic chain parameters
chain-protocol = multichain
chain-description = Blockchain privata
root-stream-name = root
root-stream-open = false
chain-is-testnet = true
target-block-time = 60
maximum-block-size = 8388608
# Global permissions
anyone-can-connect = false
anyone-can-send = false
anyone-can-receive = false
anyone-can-receive-empty = true
anyone-can-create = false
anyone-can-issue = false
anyone-can-mine = false
anyone-can-activate = false
anyone-can-admin = false
support-miner-precheck = true
allow-p2sh-outputs = true
allow-multisig-outputs = true
# Consensus requirements
setup-first-blocks = 1
mining-diversity = 0.9
admin-consensus-admin = 0.6
admin-consensus-activate = 0.6
admin-consensus-mine = 0.6
admin-consensus-create = 0.6
admin-consensus-issue = 0.6
# Defaults for node runtime parameters
lock-admin-mine-rounds = 10
mining-requires-peers = true
mine-empty-rounds = 0.0
mining-turnover = 0.5
# Native blockchain currency (likely not required)
initial-block-reward = 0
first-block-reward = -1
reward-halving-interval = 52560000
reward-spendable-delay = 1
minimum-per-output = 0
maximum-per-output = 0
minimum-relay-fee = 0
native-currency-multiple = 100000000
# Advanced mining parameters
skip-pow-check = true
pow-minimum-bits = 1
target-adjust-freq = -1
allow-min-difficulty-blocks = false
# Standard transaction definitions
only-accept-std-txs = false
max-std-tx-size = 4194304
max-std-op-returns-count = 10
max-std-op-return-size = 2097152
max-std-op-drops-count = 5
max-std-element-size = 8192