Commit Graph

26 Commits

Author SHA1 Message Date
David Dashyan 9e99c024d3
Replace headers (#2683)
Signed-off-by: David Dashyan <mail@davie.li>
2020-04-06 11:52:18 +02:00
Troy McConaghy 8e5f770707 List the "blocks" endpoint in response to HTTP info requests (#2545)
* Problem: HTTP info endpoints don't include "blocks"

Solution: Add "blocks" to the response to the HTTP info endpoints

* Removed "blocks" endpoints from "Advanced Usage"
because they are really not that advanced
2018-09-17 14:06:48 +02:00
Troy McConaghy abdd23f5a6 Problem: Source files contain no license info (#2455)
* Problem: Source files contain no license info

Solution: Add comments with SPDX license info to source files

* Python 3 files don't need # -*- coding: utf-8 -*-
2018-08-16 12:31:32 +02:00
Muawia Khan 2b39566a4b Problem: Some configurations are defunct (#2338)
* Problem: BigchainDB config has stale/deprecated parameters

- Remove `keyring` and `keypair` from config
- Update tests
- Add `tendermint` config

* Fix flake8

* Update some naming conventions and redundant changes

* Remove redundant routine `fast_query`

* Remove deprecated parameters and descriptions

* remove some more unwanted code

* Problem: Two flake8 errors made Travis fail

Solution: Fix the two flake8 errors

* Address comments

- Remove reference of nodes_except_me and me_private and me
  as attributes of BigchainDB instances
- Update and re-add test(s)
- Do not introduce `tendermint` in configuration instead handle that
  in a separate PR along with docs

* Address comments

- Remove tests that are already covered with 2.0
- Remove tests that are no longer relevant
- Add TODO for more cleanup

* Remove tendermint config from configure command
2018-06-08 15:50:50 +02:00
kansi 2a20e7042e Problem: Get validators api doesn't exist
Solution: Add `GET /api/v1/validators` endpoint
2018-02-27 13:30:56 +05:30
Troy McConaghy 1b6d0adc01 removed code for all /statuses endpoints 2018-02-19 12:04:10 +01:00
Katha e377fb57af
Pre commit styling (#1914)
* run pre-commit and fix errors

* mention pre-commit in our guides
2017-11-30 15:04:14 +01:00
muawiakh 82cd3a61ed Add metadata endpoint to info view
- Metadata search was recently added and works seamlessly
- The endpoint was not reflected in the info view i.e.
  when someone queries at root / or api/v1 endpoints.
- Handle unit tests for the change as well.
2017-11-22 18:31:35 +01:00
tim 673062f892 Remove host+port from / and /api/v1/ 2017-06-16 09:52:47 +02:00
Rodolphe Marques 27b1292497 Renamed `streams_v1` to `streams`
- Updated tests
- Updated documentation
2017-06-12 17:39:49 +02:00
Rodolphe Marques e0e27dc121 Consolidate root urls
- All information added to root url `/`
- Information specific to v1 under `/api/v1`
- Removed `_links`
- Removed `self`
2017-06-12 15:13:42 +02:00
Troy McConaghy d7ccc7c00f Merge branch 'master' into docs/1170/move-http-api-docs-to-top-level-section 2017-04-18 14:34:53 +02:00
vrde 4c9adededd
Remove TODO 2017-04-12 15:54:11 +02:00
Troy McConaghy 8964ba33b4 updated links to the HTTP API docs in this repo 2017-04-10 15:14:18 +02:00
vrde be3f62dd10
Update endpoints and docs 2017-04-07 14:57:11 +02:00
Rodolphe Marques 96daa98699
Adverstise Event stream api in api info endpoint.
Updated tests.
2017-04-07 08:42:22 +02:00
Troy McConaghy f2a05c9e3b Fixed the docs URL in HTTP API responses 2017-02-09 11:10:58 +01:00
Scott Sadler bd048a3115 add flake8-quotes checker and cleanup double quotes 2017-01-23 17:30:37 +01:00
Scott Sadler 990d863dc7 tests for informational endpoints 2017-01-06 14:46:40 +01:00
Scott Sadler 80f3bb3809 /api/v1/ informational endpoint 2017-01-06 14:46:40 +01:00
Scott Sadler 1d234d3811 collect http routes into single module 2017-01-05 13:31:05 +01:00
troymc 29d783425d Remove or comment-out the api_endpoint setting everywhere 2016-11-15 17:05:09 +01:00
troymc b70f3389b8 Changed a bunch more readthedocs.io URLs to docs.bigchaindb.com 2016-10-10 17:10:48 +02:00
troymc 8c5cb8f5a5 Updated docs links in bigchaindb/web/views/*.py 2016-09-29 14:25:52 +02:00
Sylvain Bellemare 50b0b3cef2 Rebase/feat/586/integrate tx model (#641)
* Adjust imports to bigchaindb_common

* Adjust get_spent function signature

* Adjust block serialization

* Fix BigchainApi Test

* Fix TestTransactionValidation tests

* Fix TestBlockValidation tests

* WIP: TestMultipleInputs

* Adjust tests to tx-model interface changes

- Fix old tests
- Fix tests in TestMultipleInputs class

* Remove fulfillment message tests

* Fix TransactionMalleability tests

* Remove Cryptoconditions tests

* Remove create_transaction

* Remove signing logic

* Remove consensus plugin

* Fix block_creation pipeline

* Fix election pipeline

* Replace some util functions with bdb_common ones

- timestamp ==> gen_timestamp
- serialize.

* Implement Block model

* Simplify function signatures for vote functions

Change parameter interface for the following functions:

- has_previous_vote
- verify_vote_signature
- block_election_status

so that they take a block's id and voters instead of a fake block.

* Integrate Block and Transaction model

* Fix leftover tests and cleanup conftest

* Add bigchaindb-common to install_requires

* Delete transactions after block is written (#609)

* delete transactions after block is written

* cleanup transaction_exists

* check for duplicate transactions

* delete invalid tx from backlog

* test duplicate transaction

* Remove dead code

* Test processes.py

* Test invalid tx in on server

* Fix tests for core.py

* Fix models tests

* Test commands main fn

* Add final coverage to vote pipeline

* Add more tests to voting pipeline

* Remove consensus plugin docs and misc

* Post rebase fixes

* Fix rebase mess

* Remove extra blank line

* Improve docstring

* Remove comment

handled in bigchaindb/cryptoconditions#27;
see https://github.com/bigchaindb/cryptoconditions/issues/27

* Fix block serialization in block creation

* Add signed_ prefix to transfer_tx

* Improve docs

* Add library documentation page on pipelines

* PR feedback for models.py

* Impr. readability of get_last_voted_block

* Use dict comprehension

* Add docker-compose file to build and serve docs

locally for development purposes

* Change private_key for signing_key

* Improve docstrings

* Remove consensus docs

* Document new consensus module

* Create different transactions for the block

* Cleanup variable names in block.py

* Create different transactions for the block

* Cleanup variable names in block.py
2016-09-29 10:29:41 +02:00
Dimitri De Jonghe 87a57bae33 #554 transactions GET/POST endpoints (#563)
* split up views per resource
add error cases to get/post transaction
update docs/test

* remove apiary from docstring

* PR review docs
2016-08-19 13:56:08 +02:00