Commit Graph

160 Commits

Author SHA1 Message Date
Joon d50f3ee4fb Merge PR #3395: Store Refactor 2 2019-02-05 19:39:22 +01:00
Joon 08e62fb157 Store Refactor 1 (#2985) 2019-02-01 17:03:09 -08:00
Christopher Goes f66b7b6310
Merge PR #3435: Assert store implementations never store nil values
* Check non-nil values on IAVL store
* Reuse assertValidValue
2019-01-29 21:28:41 +01:00
HaoyangLiu afb04b117e Merge PR #3387: Add missing iterator close 2019-01-25 12:13:17 +01:00
Hleb Albau 867f8a7467 Merge PR #3195: Configurable pruning. Fix docs and create strategies const. 2019-01-09 16:06:22 +01:00
Alessio Treglia 24a1670cf0 Run make format 2018-12-10 14:27:25 +00:00
Jae Kwon 40a30b738f
Update gas costs to more reasonable numbers for GoS (#3052) 2018-12-10 02:48:19 -08:00
Jae Kwon d1e76221d8
Jae/simulator improvements (#2900)
* Make simulator operations predetermined
* Use new dbm.ReverseIterator API
* Simulation speed improvements
* Pin exact revisions, not branches
* Rename 'MountStoresIAVL' to 'MountStores'
* Zero Power Block fees to community pool
2018-11-27 00:14:22 -08:00
rigelrozanski 70e60c2f30 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-21 01:51:56 -05:00
Jae Kwon 10bdf8fa03 Store ConsensusParams to main store 2018-11-20 16:44:49 -08:00
Jae Kwon 47eed3958b
Clean up Context/MultiStore usage in BaseApp (#2847) 2018-11-20 01:06:14 -08:00
Alexander Bezobchuk 6e813ab3a8 Change gas & related fields to unsigned integer type (#2839)
* Change gas & related fields to unsigned integer type
* Implement AddUint64Overflow
2018-11-19 09:13:45 -08:00
Sunny Aggarwal 8d6b0929fb Codespaces as Strings (#2821) 2018-11-16 09:12:24 -08:00
Jae Kwon c7b3efdd02
Do not allow nil values to be set in CacheKVStore (#2708)
* Do not allow nil values to be set in CacheKVStore
2018-11-07 00:29:27 -08:00
Jae Kwon 2779f4dba3
Add general merkle absence proof (also for empty substores) (#2685) 2018-11-07 00:03:02 -08:00
Jae Kwon f4338d6f75 Fix merge conflict bug; Update PENDING 2018-11-04 19:42:11 -08:00
Jae Kwon 5b74e1d0b6
Bez/tm0.26 update pt 2 redux (#2684)
* Update to TM v0.26.0
* Update TODOs
* Proof and verification updates
* Fix linting
* Fix key path creation
* Temporarily fix tendermint revision to make tests pass
2018-11-04 19:36:35 -08:00
Alexander Bezobchuk 50926fffff Update to TM v0.26.0 - Part I (#2679)
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
Christopher Goes 79ce52a41a
Merge PR #2458: Move linear to store 2018-10-16 21:57:42 +02:00
mossid 27b8322a27 split test 2018-10-16 04:09:41 +09:00
mossid 9d809d7855 Merge branch 'develop' into joon/2406-move-linear 2018-10-16 03:18:04 +09:00
mossid fb78f1d0af add docs, fix GetSubspace, address comments
rm Subspace.ptr
2018-10-14 02:44:29 +09:00
mossid 62feae87f5 fix missed conflict 2018-10-12 00:23:52 +09:00
mossid 42c7a09075 Merge branch 'develop' into joon/paramstore-refactor-base 2018-10-12 00:09:07 +09:00
mossid 0c92477b4d mv types/lib/* store/ 2018-10-09 22:23:22 +09:00
mossid 0cbb37ff03 rm Close() from Next() 2018-10-09 21:05:18 +09:00
mossid ed9b29c856 fix typo 2018-10-09 21:05:18 +09:00
mossid 43b3352c87 fix Close() 2018-10-09 21:05:17 +09:00
mossid e7c76eb344 port tests from tmlibs, fix tests 2018-10-09 21:05:17 +09:00
mossid c770e74571 fix cloneAppend 2018-10-09 21:05:17 +09:00
mossid 5091d1688d partially apply requests 2018-10-09 21:05:17 +09:00
mossid 5237639138 fix prefixIterator 2018-10-09 21:05:17 +09:00
mossid 7d49675600 apply requests in progress 2018-10-07 01:12:01 +09:00
mossid 6978d283bf fix lint 2018-10-07 01:12:01 +09:00
mossid 30ea9f85ae add tests for cloneAppend 2018-10-07 01:12:01 +09:00
mossid f3c330ec4d fix prefixstore 2018-10-07 01:12:01 +09:00
mossid e7de48e375 address comments 2018-10-07 01:12:01 +09:00
mossid a43a97bf10 address comments 2018-10-07 01:12:00 +09:00
mossid cc75924182 last rereview 2018-10-07 01:12:00 +09:00
mossid cc0e2c9523 paramstore refactor base
rm debug code

fix lint

fix hack.go
2018-10-07 01:11:59 +09:00
Christopher Goes 17983460b8
Merge PR #2219: Update to Tendermint 0.24 (except NextValSet offsets) 2018-10-03 17:48:23 +02:00
Alexander Bezobchuk 8ca8acf638 Merge PR #2357: Refactor Iterator Gas Consumption 2018-09-26 22:02:56 +08:00
Dev Ojha c6a3928d37 Added a couple of benchmarks (#2353)
These method were surprisingly slow from the profiling.
(Mapper.Get accounted for 2.7% of time taken, GetKey also took an
interestingly large portion of time)
2018-09-18 20:00:49 -07:00
Joon f19fbe3fb8 Merge PR #2330: iterate over storesParams 2018-09-13 21:53:21 -04:00
Dev Ojha 6b55093c75 Merge PR #2324: rename wire to codec
* rename wire to codec

* fix formatting and cli

* fix the docs
2018-09-13 14:17:32 -04:00
Dev Ojha 358b48771c Merge PR #2308: Remove ripemd160 entirely
* Remove ripemd160 entirely

We already made this decision awhile ago, and have had tendermint switched
for awhile. I was surprised to find ripemd still used within the storeinfo.
This actually leads me to think the new "byter" API change in the tendermint
PR RFC compliance is better, as it avoids things like this from ever happening.

* Get ripemd160 removed from the gopkg imports
2018-09-12 15:13:14 +08:00
Alexander Bezobchuk e13cdc0260 Merge PR #2146: x/bank: Keeper Interfaces
* Update banking module to implement and use keeper interfaces

* Cleanup/consolidate x/bank keeper interface
2018-09-10 14:25:34 -04:00
Dev Ojha 43ccbd4185 Merge PR #2281: Update to iavl 0.11.0 2018-09-09 23:13:17 +08:00
HaoyangLiu 3cf3ab11b0 Merge PR #2037: transient store missed to implement store type interface
* transientstore missed to implement store type interface

* rename pointer name from rs to ts
2018-09-08 20:47:36 -04:00
Jeremiah Andrews 2378e3431c Fix linter errors 2018-09-03 07:58:57 -07:00