You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
696 B

  1. > echo hello
  2. -> code: OK
  3. -> data: hello
  4. -> data.hex: 0x68656C6C6F
  5. > info
  6. -> code: OK
  7. -> data: {"size":0}
  8. -> data.hex: 0x7B2273697A65223A307D
  9. > commit
  10. -> code: OK
  11. -> data.hex: 0x0000000000000000
  12. > deliver_tx "abc"
  13. -> code: OK
  14. > info
  15. -> code: OK
  16. -> data: {"size":1}
  17. -> data.hex: 0x7B2273697A65223A317D
  18. > commit
  19. -> code: OK
  20. -> data.hex: 0x0200000000000000
  21. > query "abc"
  22. -> code: OK
  23. -> log: exists
  24. -> height: 2
  25. -> key: abc
  26. -> key.hex: 616263
  27. -> value: abc
  28. -> value.hex: 616263
  29. > deliver_tx "def=xyz"
  30. -> code: OK
  31. > commit
  32. -> code: OK
  33. -> data.hex: 0x0400000000000000
  34. > query "def"
  35. -> code: OK
  36. -> log: exists
  37. -> height: 3
  38. -> key: def
  39. -> key.hex: 646566
  40. -> value: xyz
  41. -> value.hex: 78797A