High rate insertion

+2 votes
We need help to set up MultiChain to insert assets at a high rate. Have you documented your configuration for 500 assets inserted per second, and could you describe it? When we insert assets into one node it takes about half a second per asset on one node. Did you use 1000 nodes or is there a better way?
asked Mar 10, 2016 by SlobodanMargetic

2 Answers

+1 vote
 
Best answer

Alpha 19 of MultiChain adds a bunch of extensions to createrawtransaction to make it easy to build asset issuance transactions independent of the MultiChain wallet. See this page for more information:

http://www.multichain.com/developers/raw-transactions/

You can give issuance permissions to a particular address, but keep its private key outside any node's wallet (e.g. by deleting the node on which you created it). Use dumpprivkey to get it first. Then, build issuance transactions using createrawtransaction (according to the instructions on the page above) which spend one output belonging to that address, and create two new outputs - one with the asset in (sent to any address) and the other with change going back to the same address. You can use signrawtransaction with the extra parameter where you provide the private key (see Bitcoin Core docs) and then sendrawtransaction.

This way you can create a huge number of assets while bypassing the current limitations of the MultiChain wallet.

answered Apr 1, 2016 by MultiChain
selected Apr 1, 2016 by SlobodanMargetic
0 votes

The transaction rate per node, where transactions involve the local wallet, is considerably slower than the global transaction rate supported. (Creating an asset from a node does involve its wallet.) So to generate transactions at high speed, either build them manually with functions like createrawtransaction (which don't involve the wallet), or else distribute them across multiple nodes.

answered Mar 10, 2016 by MultiChain
...