def test_construct_minable_summary_no_transactions(): summary = construct_minable_summary_genesis([ construct_coinbase_transaction(0, [], immutables.Map(), b"Political statement goes here", example_public_key) ], 1231006505, 0) summary.serialize()
def test_construct_pow_evidence_genesis_block(): coinstate = CoinState.empty() transactions = [ construct_coinbase_transaction(0, [], immutables.Map(), b"Political statement goes here", example_public_key), ] summary = construct_minable_summary_genesis(transactions, 1231006505, 0) evidence = construct_pow_evidence(coinstate, summary, 0, transactions) evidence.serialize()