Untitled


SUBMITTED BY: Guest

DATE: Feb. 3, 2013, 6:46 p.m.

FORMAT: Bash

SIZE: 2.9 kB

HITS: 1199

  1. #bitcoind listtransactions
  2. ...
  3. {
  4. "account" : "",
  5. "address" : "n2CoJejensyLj8ZpRULNfwqLJWSxeKQvNA",
  6. "category" : "generate",
  7. "amount" : 50.00000000,
  8. "confirmations" : 203,
  9. "generated" : true,
  10. "blockhash" : "00000000499a0f0a08d1bcb70eb8725d106df90ff75aea1d2c67b0f947d29e12",
  11. "blockindex" : 0,
  12. "blocktime" : 1359766213,
  13. "txid" : "0dd6c0e60a4c39e3e3371c4d83896f941a9979b5327aae2ae414165957b99428",
  14. "time" : 1359766213,
  15. "timereceived" : 1359766213
  16. }
  17. ...
  18. #bitcoind createrawtransaction '[{"txid":"0dd6c0e60a4c39e3e3371c4d83896f941a9979b5327aae2ae414165957b99428","vout":0}]' '{"miUL2hm9kV4jzSPFhS9rciafxtPiE7doqP":50}'
  19. 01000000012894b957591614e42aae7a32b579991a946f89834d1c37e3e3394c0ae6c0d60d0000000000ffffffff0100f2052a010000001976a914206945f138c53eef1f03013a3ffcfdfa1cc4498388ac00000000
  20. #bitcoind decoderawtransaction 01000000012894b957591614e42aae7a32b579991a946f89834d1c37e3e3394c0ae6c0d60d0000000000ffffffff0100f2052a010000001976a914206945f138c53eef1f03013a3ffcfdfa1cc4498388ac00000000
  21. {
  22. "txid" : "44437ff64e7b6d190db5229e22cc3d36abbf91990b0c48fe28c74fd6c52b6ad2",
  23. "version" : 1,
  24. "locktime" : 0,
  25. "vin" : [
  26. {
  27. "txid" : "0dd6c0e60a4c39e3e3371c4d83896f941a9979b5327aae2ae414165957b99428",
  28. "vout" : 0,
  29. "scriptSig" : {
  30. "asm" : "",
  31. "hex" : ""
  32. },
  33. "sequence" : 4294967295
  34. }
  35. ],
  36. "vout" : [
  37. {
  38. "value" : 50.00000000,
  39. "n" : 0,
  40. "scriptPubKey" : {
  41. "asm" : "OP_DUP OP_HASH160 206945f138c53eef1f03013a3ffcfdfa1cc44983 OP_EQUALVERIFY OP_CHECKSIG",
  42. "hex" : "76a914206945f138c53eef1f03013a3ffcfdfa1cc4498388ac",
  43. "reqSigs" : 1,
  44. "type" : "pubkeyhash",
  45. "addresses" : [
  46. "miUL2hm9kV4jzSPFhS9rciafxtPiE7doqP"
  47. ]
  48. }
  49. }
  50. ]
  51. }
  52. #bitcoind signrawtransaction 01000000012894b957591614e42aae7a32b579991a946f89834d1c37e3e3394c0ae6c0d60d0000000000ffffffff0100f2052a010000001976a914206945f138c53eef1f03013a3ffcfdfa1cc4498388ac00000000 '[{"txid":"0dd6c0e60a4c39e3e3371c4d83896f941a9979b5327aae2ae414165957b99428","vout":0,"scriptPubKey":"76a914206945f138c53eef1f03013a3ffcfdfa1cc4498388ac"}]'
  53. error: {"code":-22,"message":"Previous output scriptPubKey mismatch:\n03ef0841c439601e42b84989b0d2f2b4df15edbd5ebd05a51a25631c94019bf7b3 OP_CHECKSIG\nvs:\nOP_DUP OP_HASH160 206945f138c53eef1f03013a3ffcfdfa1cc44983 OP_EQUALVERIFY OP_CHECKSIG"

comments powered by Disqus