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.

53 lines
763 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. > finalize_block "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. > finalize_block "def=xyz" "ghi=123"
  30. -> code: OK
  31. > finalize_block "def=xyz" "ghi=123"
  32. -> code: OK
  33. > commit
  34. -> code: OK
  35. -> data.hex: 0x0600000000000000
  36. > query "def"
  37. -> code: OK
  38. -> log: exists
  39. -> height: 3
  40. -> key: def
  41. -> key.hex: 646566
  42. -> value: xyz
  43. -> value.hex: 78797A