Vanshdeep Singh
c7503f5689
Problem: Support for latest Tendermint missing ( #2375 )
...
Solution: Upgrade to py-abci 0.5.1 to use latest Tendermint
2018-07-10 14:16:02 +02:00
Lev Berman
744ab3d5ef
Problem: 2 implementations of fastquery exist. ( #2365 )
...
* Problem: 2 implementations of fastquery exist.
Solution: Remove the old deprecated implementation. Update the tests.
* Problem: There are still 3 outdated fastquery tests.
Solution: Fix the tests.
2018-06-29 15:48:58 +02:00
Shahbaz Nazir
2da720e542
Problem: There is no logging for benchmark stats ( #2349 )
...
* add log level for benchmarking
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
* Bug fixes and code re-factor
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
* remove un-necessary imports
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
* fix failing tests
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
* update docs
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
* fix typo
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
* fix flake8
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
* fix flake8 issues
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
* nitpic fixes
Signed-off-by: Shahbaz Nazir <shahbaz@bigchaindb.com>
2018-06-14 15:19:26 +02:00
vrde
357c3ee8eb
Problem: API returns 404 for existing empty blocks ( #2321 )
...
* Problem: API returns 404 for existing empty blocks
Solution: Empty blocks are not store in MongoDB because Tendermint does
not notify BigchainDB about them. In case a user requests a block that
is not in our MongoDB, we check if the requested height is less than or
equal to latest_block_height. If that's the case, we return an empty
block. If the requested height is greater than latest_block_height, then
we return 404.
* Address Lev's comment
* address Lev and Vansh comment
2018-05-31 17:15:17 +02:00
Vanshdeep Singh
a2aa4554c0
Problem: Spending transaction doesn't return properly ( #2318 )
...
Solution: Differentiate between stored spent txns and current spending txns
2018-05-29 17:43:42 +02:00
Vanshdeep Singh
7384a49d9a
Problem: Invalid transaction posted to Tendermint ( #2270 )
...
* Problem: Amount error is not tested on the HTTP level.
Solution: A failed web test to reproduce the problem.
* Problem: Invalid transaction posted to Tendermint
Solution: Pass the exception to HTTP POST handler function
* Problem: DoubleSpend and CriticalDoubleSpend not differentiated
Solution: Handle these exceptions differently in `get_spent`
* Problem: No test for checking exception DoubleSpend and CriticalDoubleSpend
Solution: Add necessary tests
* Problem: find doesn't raise IndexError
Solution: Remove exception handling for IndexError
2018-05-09 13:41:22 +02:00
Vanshdeep Singh
63635f12fc
Problem: Event stream test failing ( #2262 )
...
Solution: Extend the wait time for Tendermint to start
2018-05-03 16:42:43 +02:00
Vanshdeep Singh
920d69b0c4
Problem: Upsert validator not migrated to Tendermint 0.19.0 ( #2252 )
...
* Problem: Upsert validator not migrated to Tendermint 0.19.0
Solution: Migrate the same to Tendermint 0.19.0
* Problem: There are no tests for public key encoding/decoding
Solution: Add necessary tests
2018-05-02 16:21:28 +02:00
Vanshdeep Singh
44f19a398c
Problem: Tests failing with py-abci 0.4.1 ( #2235 )
...
Solution: Fix tests and Migrate to Tendermint 0.19.0
2018-04-26 11:09:38 +02:00
Vanshdeep Singh
65bb6e5c91
Problem: No integration test for upsert-validator ( #2212 )
...
Solution: Write necessary test
2018-04-24 16:17:49 +02:00
Vanshdeep Singh
127ee08053
Problem: No crash recovery mechanism ( #2207 )
...
Solution: Add crash recovery logic based on BEP#8
2018-04-18 10:46:16 +02:00
Vanshdeep Singh
a62cd68f8c
Problem: No test for reponses from Tendermint during POST txn ( #2210 )
...
Solution: write tests
2018-04-16 15:30:02 +02:00
Vanshdeep Singh
7f6782e31d
Problem: ABCI server not run for tests ( #2138 )
...
Solution: Create seperate test mark for which the ABCI server will be running
2018-04-10 17:29:25 +02:00
codegeschrei
6f69f39ff4
Problem: there are no f-strings in python 3.5 ( #2185 )
...
Solution: change f-strings to a compatible format for Python 3.5
2018-04-09 17:02:59 +02:00
Vanshdeep Singh
25043bc993
Problem: Block height in event stream is string. ( #2167 )
2018-04-03 12:08:00 +02:00
Vanshdeep Singh
e4e528e5c4
Problem: Changing validators requires a network restart ( #2070 )
...
Solution: Allow nodes to add, update, or remove validators at runtime using a new command. Implements BEP3.
2018-03-29 18:25:26 +02:00
Vanshdeep Singh
283f685f07
Problem: FastQuery not working ( #2153 )
...
Solution: Fix FastQuery Class
2018-03-23 17:16:00 +01:00
Vanshdeep Singh
cffd68f7cf
Problem: Event stream test incomplete ( #2152 )
...
Solution: Complete the test by checking connection status returned in the 'result' field
2018-03-23 15:39:47 +01:00
Vanshdeep Singh
8c32ae798b
Problem: UTXO implementation unfinished for release. ( #2132 )
...
Solution: Rollback UTXO for the alpha release.
2018-03-14 17:58:05 +01:00
Sylvain Bellemare
56dfd9bab0
Problem: represent utxoset state as a hash
...
Solution: create a merkle tree out of the utxoset and compute its merkle
root
2018-03-01 17:50:20 +01:00
Sylvain Bellemare
967d5727e2
Problem: store_metadata was renamed
...
Solution: perform required update
Note: see #2034
2018-03-01 15:11:58 +01:00
Sylvain Bellemare
51d4f0f2d9
Problem: utxoset needs to be updated
...
Solution: update utxoset via store_transaction
2018-03-01 15:11:58 +01:00
Sylvain Bellemare
6e3f9e8f54
Docker compose for travis ( #2039 )
...
* Replace double quotes with single quotes (flake8)
* Test event subscriber to tendermint via ws
* Problem: Tendermint is not part of stack for CI
Solution: Add Tendermint to stack for CI. For simplicity's sake
docker-compose is being used.
2018-02-14 10:19:04 +01:00
Sylvain Bellemare
b2584dd0fa
Order imports as per pep 8
2018-02-08 15:19:47 +01:00
Vanshdeep Singh
a7ed8cf4cb
Write transactions on commit ( #2017 )
...
* Write transacitons on commit
* Fix docs strings, lazy check for duplicates
2018-02-02 14:40:24 +01:00
Vanshdeep Singh
e25d365828
Integrate blocks API ( #1970 )
...
* Integrate blocks api
* Update docs
* Fix docs
* Fixed mismatch between code and documentation
* Fixed docs
2018-01-31 14:42:41 +01:00
codegeschrei
1d99d6e8a8
requested changes
2018-01-15 17:12:17 +01:00
codegeschrei
06a091e215
add mode parameter to transaction endpoint, fixes #1995
2018-01-11 13:26:06 +01:00
kansi
f5b887ac59
Integrate events api
2017-12-06 15:42:45 +05:30
kansi
2b3a9fa6f6
Integrate output search api
2017-11-30 23:59:42 +05:30
Katha
9d38d3d405
add tests to improve codecov ( #1871 )
...
* add tests to improve codecov
2017-11-30 15:07:45 +01:00
kansi
6c3f176122
Integrate asset search
2017-11-23 21:28:51 +05:30
kansi
00dd16840f
Added backend tests, configure app fixture
2017-11-23 16:27:35 +01:00
kansi
95c0f267e0
Integrate api GET "/transactions?asset_id={asset_id}&operation="
2017-11-23 16:27:35 +01:00
vrde
f4a6b863fe
Merge branch 'tendermint' into write-transfer-test
2017-11-23 15:55:32 +01:00
vrde
cf2f13aa3c
Remove app reinitialization from tests
2017-11-23 15:53:43 +01:00
kansi
66601f7fa2
Moved class "Block" to namedtuple, updated tests
2017-11-22 21:38:26 +05:30
codegeschrei
48e38b6713
fix flake8 errors
2017-11-16 17:14:21 +01:00
codegeschrei
63f0baf1b7
add double spend test, fix double spend validation
2017-11-16 11:53:14 +01:00
Vanshdeep Singh
e27c1e9cef
Return commit hash to tendermint ( #1851 )
...
* Aggregate transaction ids for commit hash
* Setup chain and return commit hash to tendermint
* Fix function naming
2017-11-15 15:41:23 +01:00
vrde
7dc7d745ec
Split transaction from asset ( #1854 )
...
Close #1827
2017-11-15 15:05:38 +01:00
vrde
db7727a459
Add GET and POST transaction ( #1823 )
2017-11-11 02:26:50 +01:00
vrde
2815cffcb5
Flat UTXO collection and first integration with Tendermint™ ( #1822 )
...
* Remove testing for rethinkdb, mongodb, and Py3.5
* Add first tests
* Add validation
* Add command to start the ABCI Server
* Reuse existing MongoDB Connection class
* Use DuplicateTransaction
* Test only tendermint
* Update travis scripts
* Fix pep8 errors
* Update Makefile
2017-11-10 17:53:57 +01:00