Listing all transactions from all nodes

+1 vote

Is there an api available which can give all transactions from all nodes but fetching it from one node only instead of going to all the nodes?

I know one way of doing this is reading txids from blocks and using getRawTransaction api to fetch the details then. But is there a list api available?

listtransactions api takes an account? What is this account? Can it give transactions from all nodes?

asked May 4, 2016 by amanc

2 Answers

0 votes
There isn't currently an API for this, and it would have an extremely large output if there was!
answered May 4, 2016 by MultiChain
HAHAHA this joker, i wonder if he tried using listassets on 1 server XD it lags the server so hard it goes into 20 30 min spin to list assets with just 300 000 assets inside the whole system. I actually did try this because it is my job to try to break the sistem to see what are the limits and nothing else was happening on the nodes only listassets process was executing and all commands to issue assets on all servers stopped untill listing was done.

you guys might want to consider changing how listassets work to make it not create 1 gigantic json string but to return a jason array with object size limited to something that the sistem can easily handle.
0 votes

MultiChain alpha 26 accepts some new parameters to the getblock API – if you set verbose=4 you will see a full description of every transaction in the block.

answered Dec 4, 2016 by MultiChain