1 suggestion
Optional improvements
[suggestion] · sendall help omits the duplicate-input restriction
Callers learn about the duplicate-input rejection only from the error, unlike the documented uniqueness rule for recipients.
Location: src/wallet/rpc/spend.cpp:1474 (head).
Details and suggested fix
sendall returns RPC_INVALID_PARAMETER when inputs contains the same outpoint more than once, but its help text does not state this restriction. By contrast, the recipients description says each address may appear only once. Add a sentence to the inputs description stating that each input (txid:vout) may appear only once. This is a documentation omission; the error already identifies the duplicated outpoint.