vrde
5efe0a586c
Merge branch 'master' of https://github.com/eladve/bigchaindb into eladve-master
2016-08-05 14:38:13 +02:00
ryan
0dca72cad8
clean up test_election.py
2016-08-03 15:44:41 +02:00
Elad-PC\elad
2e1abc3d6a
fixed another test
2016-08-03 08:55:37 +02:00
Elad-PC\elad
f35d5a708e
fixed tests to deal with new location of 'version'
2016-08-03 08:31:55 +02:00
ryan
dd0b758bfa
sleep
2016-08-01 16:24:27 +02:00
ryan
68f64ee780
return invalid block to outpipe
2016-08-01 15:49:50 +02:00
ryan
03454f7087
remove obsolete tests
2016-08-01 14:55:37 +02:00
ryan
1b20414457
election tests
2016-08-01 14:51:12 +02:00
ryan
77317178ef
inital refactor
2016-08-01 14:51:11 +02:00
vrde
40966816c9
Fix tests
2016-07-27 15:24:38 +02:00
vrde
715763757c
Change name to pipes
2016-07-25 17:02:08 +02:00
vrde
ecf67d1e28
Add block pipeline
2016-07-25 13:30:31 +02:00
Alicia
9683d3f5a1
delete superfluous decorator ( #479 )
2016-07-24 13:58:53 +02:00
vrde
873ea891d6
Refactor method signature
2016-07-21 13:50:19 +02:00
vrde
150cade4db
Merge branch 'lluminita-resolve-issue-458'
2016-07-21 10:58:51 +02:00
vrde
13348d0e8b
Merge branch 'resolve-issue-458' of https://github.com/lluminita/bigchaindb into lluminita-resolve-issue-458
2016-07-21 10:44:19 +02:00
Sylvain Bellemare
96cc40dcff
Add docstring that explains the fixture's purpose
2016-07-20 12:07:04 +02:00
Sylvain Bellemare
15b9e8d7e8
Test config_utils.write_config()
2016-07-20 11:28:12 +02:00
Sylvain Bellemare
b08f6ebffd
Add test for config_utils.file_config()
2016-07-20 11:28:12 +02:00
Sylvain Bellemare
726ad9cedc
Fix #449
2016-07-20 11:28:12 +02:00
vrde
03eda5242d
Fix test
2016-07-20 11:05:45 +02:00
vrde
0b1ce4ff4c
Remove duplicated tests
2016-07-19 17:51:42 +02:00
Luminita
4c399ad234
split index and table creation
2016-07-19 15:26:56 +02:00
Luminita
6ad8448246
Merge branch 'master' into resolve-issue-458
2016-07-19 14:11:56 +02:00
Sylvain Bellemare
c4c35a25aa
Fix #443 ( #445 )
2016-07-19 12:07:47 +02:00
vrde
6b2d87b53f
Merge branch 'remove-block-number'
2016-07-18 16:50:14 +02:00
vrde
553148c5e4
Add CyclicBlockchainError exception, fix tests
2016-07-18 13:49:42 +02:00
ryan
6fa9d5f563
fix fixture
2016-07-18 11:02:02 +02:00
ryan
84945436a3
unused import
2016-07-18 10:54:07 +02:00
Luminita
8b5cc46adf
split the init function and add new tests
2016-07-15 21:00:27 +02:00
ryan
7ce79c51ea
correct type for spoofed timestamps
...
correct type for spoofed timestamps
2016-07-15 15:29:21 +02:00
Sylvain Bellemare
f4a7ba906f
Test client init error ( #448 )
...
* Remove unused import
* Test Client.__init__() with incomplete keypair
2016-07-15 11:46:25 +02:00
vrde
8ac50bf0cc
Make sure we retrieve the last block in case timestamps collide
2016-07-14 17:10:55 +02:00
vrde
e0d0ab21d3
Add more blocks in inputs fixture
2016-07-14 15:03:16 +02:00
Ryan Henderson
7de9b1711f
Fix non deterministic test ( #441 )
2016-07-14 10:33:35 +02:00
Ryan Henderson
47e1b3cf4e
treat genesis block as valid ( #433 )
2016-07-14 10:31:10 +02:00
vrde
73d6add36f
Remove block_number [pair prog w/ @rhsimplex]
2016-07-13 17:30:13 +02:00
Ryan Henderson
073dcdaa79
Votes table ( #379 )
...
* create votes table and indexes
* initial db call rewrite
* setup votes table in tests
* rewrite election status
* update api tests
* update tests
* bigchaindb set-shards should change 'votes' table too
* Forgot to add change to bigchain.py in last commit
* update test
* move exceptions
* collapse line
* revise test
* remove obsolete test
* remove votelist from blocks
* sharding and replication
* documentation changes
* language change
* more readable assertions
* fix exception
* test exceptions
* remove parameter
* remove loop
2016-07-13 09:40:07 +02:00
Rodolphe Marques
f2812c6c46
Merge pull request #411 from shauns/patch-1
...
Complete move from payload hashes to payload UUIDs
2016-07-04 16:05:29 +02:00
Shaun Stanworth
181c8af2e7
Commit block to the DB
2016-07-01 12:31:07 +01:00
Shaun Stanworth
6dd5cfe1f1
Add DB index on payload_uuid for tests
2016-07-01 11:49:35 +01:00
Shaun Stanworth
9d1bb889c4
Add tests for get_tx_by_payload_uuid
2016-07-01 11:32:57 +01:00
Rodolphe Marques
a66a18b0d4
Pass a custom bigchain instance to util.sign_tx
2016-06-29 16:47:58 +02:00
Sylvain Bellemare
7bd6d485bc
Test Bigchain.get_blocks_status_containing_tx() ( #399 )
...
* Test Bigchain.get_blocks_status_containing_tx()
exception case
* Test Bigchaindb.has_previous_vote()
* Add missing blank lines (pep 8)
* Group imports
* Move ImproperVoteError into .exceptions.py
* Simplify logic
* Simplify formatting
* Imrpove the docstrings a bit
* Move GenesisBlockAlreadyExistsError
into .exceptions.py
* Remove unused import
* Add missing blank line
* Remove extra blank line
* Group imports from same module together
* Add test for Bigchain.transaction_exists()
2016-06-28 14:19:22 +02:00
Sylvain Bellemare
ac680cf5e9
Test consensus ( #398 )
...
* Remove unused import
* Simplify and group the imports
* Add extra space (pep 8)
* Remove NotImplementedError
the class BaseConsensusRules implements verify_vote_signature
* Add test module for consensus module
2016-06-28 14:19:07 +02:00
Sylvain Bellemare
681e347e75
Test util ( #396 )
...
* Isolate handling of potential KeyError
* Add tests for bigchaindb/util.py
* Simplify the logic a bit
* Raise the exception
2016-06-28 14:18:50 +02:00
Troy McConaghy
fab9b3ec36
Merge pull request #390 from bigchaindb/rename_federation_nodes
...
Renamed Bigchain.federation_nodes as Bigchain.nodes_except_me
2016-06-23 15:50:57 +02:00
Rodolphe Marques
30d7185c38
Change config precedence so that env variables can override config.
...
Added a method to programmatically update the config
Created tests
2016-06-21 13:19:02 +02:00
Rodolphe Marques
949498b7a2
Merge remote-tracking branch 'remotes/origin/master' into feat/389/cli-set-replication-factor
2016-06-20 13:35:27 +02:00
Rodolphe Marques
6208305ae4
added tests
2016-06-20 13:24:14 +02:00