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.

177 lines
3.4 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. # Changelog
  2. ## 0.4.1 (April 18, 2017)
  3. IMPROVEMENTS:
  4. - Update dependencies
  5. ## 0.4.0 (March 6, 2017)
  6. BREAKING CHANGES:
  7. - Query takes RequestQuery and returns ResponseQuery. The request is split into `data` and `path`,
  8. can specify a height to query the state from, and whether or not the response should come with a proof.
  9. The response returns the corresponding key-value pair, with proof if requested.
  10. ```
  11. message RequestQuery{
  12. bytes data = 1;
  13. string path = 2;
  14. uint64 height = 3;
  15. bool prove = 4;
  16. }
  17. message ResponseQuery{
  18. CodeType code = 1;
  19. int64 index = 2;
  20. bytes key = 3;
  21. bytes value = 4;
  22. bytes proof = 5;
  23. uint64 height = 6;
  24. string log = 7;
  25. }
  26. ```
  27. IMPROVEMENTS:
  28. - Updates to Makefile
  29. - Various cleanup
  30. - BaseApplication can be embedded by new apps to avoid implementing empty methods
  31. - Drop BlockchainAware and make BeginBlock/EndBlock part of the `type Application interface`
  32. ## 0.3.0 (January 12, 2017)
  33. BREAKING CHANGES:
  34. - TMSP is now ABCI (Application/Asynchronous/A BlockChain Interface or Atomic BroadCast Interface)
  35. - AppendTx is now DeliverTx (conforms to the literature)
  36. - BeginBlock takes a Header:
  37. ```
  38. message RequestBeginBlock{
  39. bytes hash = 1;
  40. Header header = 2;
  41. }
  42. ```
  43. - Info returns a ResponseInfo, containing last block height and app hash:
  44. ```
  45. message ResponseInfo {
  46. string data = 1;
  47. string version = 2;
  48. uint64 last_block_height = 3;
  49. bytes last_block_app_hash = 4;
  50. }
  51. ```
  52. - EndBlock returns a ResponseEndBlock, containing the changed validators:
  53. ```
  54. message ResponseEndBlock{
  55. repeated Validator diffs = 4;
  56. }
  57. ```
  58. - Hex strings are 0x-prefixed in the CLI
  59. - Query on the Dummy app now uses hex-strings
  60. FEATURES:
  61. - New app, PersistentDummy, uses Info/BeginBlock to recover from failures and supports validator set changes
  62. - New message types for blockchain data:
  63. ```
  64. //----------------------------------------
  65. // Blockchain Types
  66. message Header {
  67. string chain_id = 1;
  68. uint64 height = 2;
  69. uint64 time = 3;
  70. uint64 num_txs = 4;
  71. BlockID last_block_id = 5;
  72. bytes last_commit_hash = 6;
  73. bytes data_hash = 7;
  74. bytes validators_hash = 8;
  75. bytes app_hash = 9;
  76. }
  77. message BlockID {
  78. bytes hash = 1;
  79. PartSetHeader parts = 2;
  80. }
  81. message PartSetHeader {
  82. uint64 total = 1;
  83. bytes hash = 2;
  84. }
  85. message Validator {
  86. bytes pubKey = 1;
  87. uint64 power = 2;
  88. }
  89. ```
  90. - Add support for Query to Counter app
  91. IMPROVEMENT:
  92. - Don't exit the tmsp-cli console on bad args
  93. BUG FIXES:
  94. - Fix parsing in the Counter app to handle invalid transactions
  95. ## 0.2.1 (September 12, 2016)
  96. IMPROVEMENTS
  97. - Better error handling in console
  98. ## 0.2.0 (July 23, 2016)
  99. BREAKING CHANGES:
  100. - Use `oneof` types in protobuf
  101. FEATURES:
  102. - GRPC support
  103. ## PreHistory
  104. ##### Mar 26h, 2016
  105. * Introduce BeginBlock
  106. ##### Mar 6th, 2016
  107. * Added InitChain, EndBlock
  108. ##### Feb 14th, 2016
  109. * s/GetHash/Commit/g
  110. * Document Protobuf request/response fields
  111. ##### Jan 23th, 2016
  112. * Added CheckTx/Query ABCI message types
  113. * Added Result/Log fields to DeliverTx/CheckTx/SetOption
  114. * Removed Listener messages
  115. * Removed Code from ResponseSetOption and ResponseGetHash
  116. * Made examples BigEndian
  117. ##### Jan 12th, 2016
  118. * Added "RetCodeBadNonce = 0x06" return code
  119. ##### Jan 8th, 2016
  120. * Tendermint/ABCI now comes to consensus on the order first before DeliverTx.