268 Commits

Author SHA1 Message Date
troymc
9c4aa987bc Updated version.py for the v0.4.1 release 2016-06-13 09:52:40 +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
5aff88cddc
bump version 2016-05-27 13:37:53 +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
vrde
3133978d05
Merge branch 'core/192/ignore-invalid-blocks' 2016-05-25 16:18:18 +02:00
vrde
ab43b30353
Use constants instead of strings 2016-05-25 15:50:10 +02:00
ryan
0de838c40f simplify query 2016-05-25 14:41:01 +02:00
diminator
9875cab3b3
cc-based escrow 2016-05-24 17:55:43 +02:00
ryan
003d4b8310 imperative phrasing 2016-05-23 10:27:22 +02:00
ryan
1b10d11a2c Revert "get_tx_by_payload_hash checks block status (no tests)"
This reverts commit bb0bb9a1b4f686e2cb042427de1aeb06a002fc14.
2016-05-23 10:20:33 +02:00
ryan
5bc66a28c1 Revert "revert get_tx_by_payload_hash"
This reverts commit fb2cd532a9462ae4fc3c50056f01b37467816848.
2016-05-23 10:17:12 +02:00
vrde
2948ccdb2a
Merge branch 'docker-dev' of git://github.com/sbellem/bigchaindb into sbellem-docker-dev 2016-05-20 11:06:50 +02:00
vrde
95fe5a77aa
Merge remote-tracking branch 'origin/feat/317/switch-to-rapidjson' 2016-05-20 10:59:56 +02:00
ryan
fb2cd532a9 revert get_tx_by_payload_hash 2016-05-19 16:43:04 +02:00
ryan
61bae88cdb Merge branch 'master' into core/192/ignore-invalid-blocks 2016-05-19 16:32:46 +02:00
ryan
8d3faec6a7 fix unspent query 2016-05-19 15:42:05 +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
Rodolphe Marques
07df25ffaf fix typo after merge 2016-05-19 12:36:42 +02:00
Rodolphe Marques
925c15e80e Merge remote-tracking branch 'remotes/origin/master' into feat/317/switch-to-rapidjson 2016-05-19 12:01:26 +02:00
ryan
5e3358f278 Merge branch 'core/193/invalid-block-backlog' into core/192/ignore-invalid-blocks 2016-05-18 16:27:15 +02:00
Rodolphe Marques
50da984626 replaced json with rapidjson 2016-05-18 15:43:47 +02:00
diminator
3aba164bfd
logical and rather than bitwise 2016-05-17 15:23:00 +02:00
diminator
3dad488344
condition.serialize_uri => condition_uri 2016-05-17 15:12:20 +02:00
Sylvain Bellemare
a05c688682 Parameterize db host config via env var 2016-05-13 16:21:33 +02:00
ryan
661a4fe93f check for bad blocks on get_spent 2016-05-12 18:02:50 +02:00
diminator
76eb18329e Merge remote-tracking branch 'remotes/origin/master' into fix/260/add-output-condition-to-fulfillment-message 2016-05-12 16:03:19 +02:00
diminator
37f0477c89
check condition_uri of CREATE on validate_fulfillment 2016-05-12 15:37:16 +02:00
diminator
7630ec7fc6
refactor input_condition and get_fulfillment_message
test malleability
2016-05-12 15:30:58 +02:00
ryan
5e4e2eefb3 election status class constants 2016-05-12 12:39:53 +02:00
ryan
b772c1f2f4 resolve merge conflicts 2016-05-12 11:36:31 +02:00
ryan
42d94258c3 imperative docstring 2016-05-12 11:14:33 +02:00
diminator
0c9777686d
output_condition from fid instead of cid 2016-05-11 19:18:56 +02:00
diminator
c623ca56d0
fulfillment_message with output_condition
added tests
2016-05-11 19:02:37 +02:00
vrde
5775764d98
Merge branch 'remove-plugin-load-bottleneck' 2016-05-11 16:51:11 +02:00
diminator
a3fa8393ac
rename condition to input_condition in fulfillment_message 2016-05-11 16:26:05 +02:00
vrde
ee2fa053d9
Add lru_cache to load_consensus_plugin 2016-05-11 16:25:59 +02:00
Rodolphe Marques
4c64b6642b Change the block process to use all the cpus instead of only one cpu per
task
2016-05-11 14:45:10 +02:00
Dimitri De Jonghe
3989346044 Merge pull request #264 from bigchaindb/fix/rename-validate_fulfillments
rename verify_signature to validate_fulfillments
2016-05-11 11:27:33 +02:00
Troy McConaghy
1067714a77 Merge pull request #252 from bigchaindb/some_docs_revisions
Some docs revisions
2016-05-11 10:58:03 +02:00
diminator
da97c4c6b5
docstring update 2016-05-10 17:20:11 +02:00
diminator
a75eec9ad1
abstractmethod cleanup
docs update
2016-05-10 17:18:49 +02:00
diminator
ca34b58629
rename verify_signature to validate_fulfillments 2016-05-10 17:12:38 +02:00
Rodolphe Marques
f09dacdd11 renamed sharding to set-shards 2016-05-09 17:31:02 +02:00
Rodolphe Marques
9f959fc6ed Add command to configure number of shards.
Changed aws deployment script to automatically set the number of shards.
Created tests
2016-05-09 16:45:09 +02:00
vrde
644b15a831
Fix typo 2016-05-09 10:07:59 +02:00
troymc
8f2541cc6a Fixed docstring about where Bigchain instance param vals come from 2016-05-06 10:40:29 +02:00
ryan
197eeb178b get_owned_id checks block status 2016-05-05 15:17:49 +02:00
ryan
bb0bb9a1b4 get_tx_by_payload_hash checks block status (no tests) 2016-05-05 14:05:30 +02:00
ryan
475b9d97ce factor out secondary index search 2016-05-05 11:49:55 +02:00