lian / bitcoin-ruby

bitcoin utils and protocol in ruby.
Other
922 stars 322 forks source link

Can an the value of a prev_out be less than the amount I am sending? #315

Closed Matthiasclee closed 2 years ago

Matthiasclee commented 2 years ago

If my wallet got 1 btc over 10 txns of 0.1 btc each, do I need to use all of those txns as inputs, or can I just use the last one even if I want to send the full 1 btc?