lbryio / lbcd

An alternative full node implementation of LBRY's blockchain written in Go (golang)
https://lbry.com/
ISC License
39 stars 26 forks source link

Bring `createrawtransaction` up to date #35

Closed roylee17 closed 2 years ago

roylee17 commented 2 years ago

Known issues:

 lbcctl createrawtransaction '[{"txid": "fd967aa8217fe948cda46b58eb04a7d9af618dc31dc91fbdcde5cbf4f6bf48c4", "vout": 0}]' '{"data": "aabbccdd", "bEQbGgnLQJmmcXAtSBxzNzvUAb5DvRyM4y": 1.0}'

createrawtransaction command: parameter #2 'amounts' must be valid JSON which unsmarshals to a map[string]float64 (code: ErrInvalidType)
Usage:
  createrawtransaction [{"txid":"value","vout":n},...] {"address":amount,...} (locktime)

Latest spec:

createrawtransaction [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount},{"data":"hex"},...] ( locktime replaceable )

...