vrde
702fbe693f
Merge branch 'master' into refactor-multiprocessing-for-vote
2016-08-15 16:25:06 +02:00
ryan
6e279da9d4
remove block delete reverter
2016-08-12 11:21:03 +02:00
vrde
5efe0a586c
Merge branch 'master' of https://github.com/eladve/bigchaindb into eladve-master
2016-08-05 14:38:13 +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
vrde
79980c08a6
Port final tests
2016-08-02 16:04:08 +02:00
vrde
074cae4484
Add last tests
2016-08-02 15:39:08 +02:00
vrde
199e8633bb
Port tests to the new pipeline process
2016-08-01 22:45:53 +02:00
ryan
03454f7087
remove obsolete tests
2016-08-01 14:55:37 +02:00
vrde
74a5412cd9
WIP
2016-07-29 14:49:26 +02:00
vrde
ecf67d1e28
Add block pipeline
2016-07-25 13:30:31 +02:00
vrde
873ea891d6
Refactor method signature
2016-07-21 13:50:19 +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
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
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
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
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
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
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
troymc
cd7070722f
Renamed Bigchain.federation_nodes as Bigchain.nodes_except_me
2016-06-16 16:58:01 +02:00
Rodolphe Marques
c56f745ba6
fixed failing test
2016-06-15 12:22:19 +02:00
Rodolphe Marques
6d41f6971d
UUID is added even if payload is None
...
Prevent the creation of empty blocks
Created and updated tests
2016-06-15 12:07:53 +02:00
Rodolphe Marques
a694efd9dc
Round timestamp and add uuid to payload.
...
Timestamp is now returned in UTC with second precision.
Payload hash is replaced by an uuid4. This allows us to distinguish
between duplicated payloads.
Removed a deprecated test related to the payload hash.
Renamded secondary index payload_hash -> payload_uuid
2016-06-15 09:55:30 +02:00
tim
13e98f4316
Update cc API usage
2016-06-10 14:07:53 +02:00
diminator
aa53f20661
Merge remote-tracking branch 'remotes/origin/master' into feat/inverted-threshold-condition
2016-06-10 14:01:46 +02:00
Ryan Henderson
0f13da59bf
Core/197/revert bigchain deletes ( #330 )
...
* naive revert
* skip voting if already voted
* typo
* poison pill
* tests
* reversions
* block reverter is separate process
* factor out previous vote checking
* add tests
2016-06-02 14:46:32 +02:00
diminator
de17f56ac2
fixed tests
2016-06-01 14:07:03 +02:00
diminator
c3c71c6d9e
Merge remote-tracking branch 'origin/master' into feat/201/escrow
2016-05-26 10:54:31 +02:00
diminator
37c698529f
WIP: docs and tutorial
2016-05-25 16:40:47 +02:00
ryan
53b1c2aab5
block num
2016-05-25 16:18:07 +02:00
ryan
56da36e271
block num
2016-05-25 16:15:47 +02:00
diminator
9875cab3b3
cc-based escrow
2016-05-24 17:55:43 +02:00
ryan
61bae88cdb
Merge branch 'master' into core/192/ignore-invalid-blocks
2016-05-19 16:32:46 +02:00
ryan
1eaa0ff913
test get_owned on invalid block
2016-05-19 16:27:04 +02:00
ryan
9fdc4fc9c2
test for query on spent in invalid block
2016-05-19 15:42:27 +02:00
Ryan Henderson
9f03b2b771
add election class, process starts ( #221 )
...
* add election class, process starts
* remove else clause
* resolve splitvote
* move quorum check to core
* remove comments
* fixed vote counting
* add test
* poison pill
* queue test
* generalize election status
* get correct part of block
* clean shut down
* test block liquidation
* add vote signature checking
* add tests
* user_public_key to user_vk
* python3 style floordivs
* correct verdict for odd number of voters, and tests
* remove whitespace
* simplify verify_vote_signature
* election checks pubkey is in block voters
* tests for elector pubkey
* count invalid votes as votes for invalid block
* test update
* test mismatched vote, block sigs
* variable name change
* comments on voting logic
* comments on voting logic
* remove unused queue
* correct block model
* imperative docstring
* election status class constants
* election tests use constants
2016-05-19 14:03:52 +02:00
ryan
635a416305
test get_transaction on invalid block
2016-05-19 13:54:47 +02:00