16 Commits

Author SHA1 Message Date
Troy McConaghy
b01898aced Merge branch 'master' into replace-pr-762 2017-02-03 12:05:13 +01:00
Rodolphe Marques
2fe9c47b63 Feat/990/cleanup monitoring code (#1138)
* remove statsd dependencie

* remove monitoring related code

* removed statsd configuration

* fixed tests

* Removed monitoring docker compose file.

Remove statsd settings from test fixture.
Removed statsd related code from benchmarking tests

* removed monitoring related documentation

* remove unused import
2017-02-03 10:28:28 +01:00
Troy McConaghy
e253ca015f Line-length changes, many suggested by @amirelemam in #762 2017-01-22 13:45:17 +01:00
Brett Sun
8fa3245309 Rename any *util.py to *utils.py (#991) 2016-12-22 17:39:39 +01:00
Sylvain Bellemare
ea9dfaf1e5 Replace bigchaindb_common pkg by bigchaindb.common 2016-10-24 17:01:43 +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
troymc
fad0be47c1 Merge branch 'master' into more-ways-to-add-tx-to-backlog 2016-05-11 17:20:55 +02:00
Rodolphe Marques
2c58ef857c replace tx/s by nan for the first result 2016-05-11 16:20:24 +02:00
Rodolphe Marques
a8dbe60854 close the files in a finally clause 2016-05-11 16:12:41 +02:00
troymc
972f810ac7 get payload size choices from SIZE_OF_FILLER.keys() 2016-05-11 15:43:30 +02:00
troymc
dd93e03750 Added --payload-size option to benchmark_utils.py add-backlog 2016-05-11 15:38:42 +02:00
Rodolphe Marques
ced473aaa6 Added some statistics to the output of gather-metrics. 2016-05-11 13:08:32 +02:00
Rodolphe Marques
9761bb2267 Added a command to gather metrics from a cluster 2016-05-11 11:29:53 +02:00
troymc
be9e44140e Renamed update-statsd command to set-statsd-host 2016-05-10 16:36:00 +02:00
Rodolphe Marques
e2fd574c6e Added cli to benchmark_utils 2016-05-10 11:47:49 +02:00
Rodolphe Marques
1d4eddf635 Created templates and util functions for benchmark testing. 2016-05-09 17:27:16 +02:00