# Gavin Andresen # 2011-03-02 00:21:17 # https://bitcointalk.org/index.php?topic=4034.msg57843#msg57843 @s{quotedtext} @s{quotedtext} @p{brk} I've got a (private so far) patch that creates mass-pay transactions. API is: @p{brk} sendmulti @p{lt}fromaccount@s{gt} {address:amount,...} [minconf=1] [comment] @p{par} This code in CTransaction::AcceptToMemoryPool will need to change, too: @p{brk} Code: if (GetSigOpCount() @s{gt} 2 || nSize @p{lt} 100) @p{brk} return error("AcceptToMemoryPool() : nonstandard transaction"); (a mass-pay transaction will have N+1 OP_CHECKSIGs in it, where N is the number of people being paid). @p{par} Replacing in the stock client with something like: @p{brk} Code: if (GetSigOpCount() @s{gt} 2) minFee += GetSigOpCount()*GetArgMoney("-masspayfee", CENT/100); ... seems like the right direction to go. @p{par} BUT: I think a higher priority is figuring out how to deal with fees for the other two send methods.