|
February 10, 2017, 06:36:32 PM |
|
There are two separate aspects of the system that would stop such a thing --
1) Transactions > 100 kb are considered non-standard by nodes. This isn't a consensus rule, but it's local policy where nodes will refuse to relay the transaction. In general you would have to manually submit your raw tx to a miner to get anything nonstandard mined, because the network will not propagate it for you. This is why it wouldn't end up in the mempool.
2) The 1MB blocksize cap will stop a miner from including it in a block, because it would be impossible for a miner to construct a candidate block that would be valid and includes your >1MB transaction.
There isn't really a way to answer how many inputs and outputs you would need, because for normal p2pkh tx's outputs are smaller than inputs (because you have to include signature data in the tx), but ballpark based on how many typical transactions fit in a block, it would be somewhere in the neighborhood of a few thousand, depending on the exact inputs and outputs.
|