#!/usr/bin/env python2 # Copyright (c) 2018 The Zcash developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import BitcoinTestFramework from mergetoaddress_helper import MergeToAddressHelper class MergeToAddressSapling (BitcoinTestFramework): # 13505 would be the maximum number of utxos based on the transaction size limits for Sapling # but testing this causes the test to take an indeterminately long time to run. helper = MergeToAddressHelper('sapling', 'ANY_SAPLING', 800, 800, 0, False) def setup_chain(self): self.helper.setup_chain(self) def setup_network(self, split=False): self.helper.setup_network(self, [ '-nuparams=5ba81b19:100', # Overwinter '-nuparams=76b809bb:100', # Sapling ]) def run_test(self): self.helper.run_test(self) if __name__ == '__main__': MergeToAddressSapling().main()