880 Commits

Author SHA1 Message Date
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
Troy McConaghy
e725c23691
Added note about 'make clean-pyc' 2017-11-07 14:24:33 +01:00
Troy McConaghy
6cab2f26e9
Fix command to run tests w/ docker-compose & bdb-rdb 2017-11-07 10:20:41 +01:00
Troy McConaghy
d55004601c
Fix command to run RethinkDB in bg w/ docker-compose 2017-11-07 10:17:21 +01:00
kansi
961d7f5b29 Merge branch 'master' into bug/1702/invalid-asset-data-keys 2017-11-02 19:33:32 +05:30
kansi
263e9a25f6 Unique index for bigchain collection, fixed test case 2017-11-01 21:23:06 +05:30
kansi
f3da30aea0 Validate nested keys for asset.data and metadata 2017-11-01 17:26:16 +05:30
kansi
1de5375962 Validate asset data keys 2017-10-31 15:16:59 +05:30
kansi
421c67c621 Fixed mongodb tests 2017-10-27 15:31:44 +05:30
kansi
199473178f Fix rethinkdb tests 2017-10-24 18:03:57 +05:30
kansi
5954d6360a Added cmd flag --init to start command 2017-10-24 16:59:10 +05:30
kansi
0b44c385a6 Merge branch 'master' into bug/1660/logging-server-port-config 2017-10-24 10:10:18 +05:30
kansi
50eb857133 Fix flake8 ambiguous variable "l" issue 2017-10-23 18:06:11 +05:30
kansi
01390a8cc0 Fix code coverage 2017-10-23 10:20:56 +05:30
kansi
0c0d3049f2 Provide log server port as config paramter 2017-10-23 09:17:58 +05:30
vrde
e7640feaec
Merge branch 'block-publisher-plugin-arch' 2017-08-11 11:24:07 +02:00
vrde
c4853f54b9
Add more coverage 2017-08-09 16:23:03 +02:00
vrde
a0cbb63db8
Rename things, add tests 2017-08-09 10:51:30 +02:00
Krish
3ec4153375 Support for advertised host, port, scheme for Websockets (#1703)
* Support for advertised host, port, scheme for Websockets

* Update docs

* Add a docstring

* Set env vars in Dockerfile-dev too
2017-08-08 12:04:58 +02:00
vrde
21a7da1c9d
Plugins can subscribe to specific events 2017-08-08 11:28:35 +02:00
vrde
8d72421d7c
Add PubSub 2017-08-08 11:28:35 +02:00
Ketan Bhatt
684fffe917 HTTP API Logger logs request path and method too 2017-07-09 16:44:21 +05:30
vrde
8457cb35eb
Add middleware to strip content-type headers from GETs 2017-07-04 14:01:56 +02:00
Krish
e8411fc99e Do not allow duplicate GENESIS block creation - #1556 (#1612)
* Add a check for GENESIS transaction

* Add test and fixture

* Removed database query for GENESIS block

* Undo log level change
2017-07-03 17:21:15 +02:00
Sylvain Bellemare
26f14aadec Parametrize websocket api tests for docker 2017-07-03 15:23:50 +02:00
Sylvain Bellemare
4d61c5e8ca Refine the condition uri regex for validation
closes #1516
2017-07-03 15:08:47 +02:00
libscott
5e9b7f4ffe Remove condition details signature, rename subfulfillments to subconditions (#1589)
* implement output.condition.details marshalling and remove signature field

* rename outputs[].condition.details.subfulfillments to subconditions

* simpler threshold depth overlow handling

* pass public_key as kwarg

* change ccv1 condition uri in docs

* import base58 at top in test_transaction
2017-06-30 09:44:22 +02:00
libscott
b1ad6045b6 Rename "output" to "output_index" in /api/v1/outputs (#1596)
* rename output to output_index in /api/v1/outputs

* rename transaction.input.fulfills.output to output_index

* fix rethinkdb queries for output_index
2017-06-30 09:40:50 +02:00
libscott
69a07b282d remove federation test that is failing sometimes in the case of RethinkDB (#1587) 2017-06-27 15:27:49 -07:00
libscott
074e783088 tx version break step with server version (#1574)
* tx version break step with server version
* fix regular expression for tx version
* restore docstring for Transaction version parameter
* add test for correct transaction version
2017-06-22 07:50:42 -07:00
Krish
9ceea89537 Enable Auth over TLS connections (#1552)
* Changes to support auth on the infrastructure
* Auth over TLS/SSL support in BigchainDB, MongoDB, Monitoring Agent, Backup Agent
* Update certificates: Different OUs specified now
* Code formatting
- Make flake happy!
* Raise proper authentication failed error
* Documentation changes for auth
* Support auth in k8s deployment
* Commit certs for monitoring and backup agents
* Configuration to allow Cloud Manager Backup Agent to backup data
* Update docs and remove authentication error
2017-06-22 16:32:04 +02:00
Sylvain Bellemare
02fe712c34 Integrate cryptoconditions version 02 2017-06-22 14:56:22 +02:00
Rodolphe Marques
842664cb14 Improved documentation
- fixed test name
2017-06-16 10:31:46 +02:00
Rodolphe Marques
b523ba3fe5 Rename unspent -> spent in outputs endpoint
- If spent=None return all outputs
- If spent=True return only spent outputs
- If spent=False return only unspent outputs
- Updated documentation
- Add the ability to return only spent outputs in core
- Added and update tests
2017-06-16 10:31:46 +02:00
Rodolphe Marques
8d60796765 Merge pull request #1541 from bigchaindb/feat/1525/inconsistency-relative-links
Remove relative links
2017-06-16 10:30:20 +02:00
Rodolphe Marques
4d1131d90c Remove links from statuses endpoint
- Updated documentation
- Updated tests
2017-06-16 10:01:45 +02:00
Rodolphe Marques
446e454a77 outputs endpoint returns list of objects instead of links
- Updated documentation
- Updated tests
2017-06-16 10:01:45 +02:00
tim
bd0d79d399 Allow scheme configuration for ws-server 2017-06-16 09:55:46 +02:00
tim
673062f892 Remove host+port from / and /api/v1/ 2017-06-16 09:52:47 +02:00
Rodolphe Marques
dda6517451 Merge pull request #1532 from bigchaindb/feat/1531/consistent-naming
Consistent naming of `transaction_id`
2017-06-16 09:50:43 +02:00
Tim Daubenschütz
41805de0c2 Merge pull request #1543 from bigchaindb/feat/1038/fix-tx-endpoint
Fix /transactions/id endpoint
2017-06-16 09:50:06 +02:00
Rodolphe Marques
c2e44d99d4 Merge pull request #1529 from bigchaindb/feat/1147/consolidate-root-urls
Consolidate root urls
2017-06-15 15:05:31 +02:00