Use booleans properly.
Use new octal notation (PEP 3127).
Added test for dbstore.getOrCreate

Fixed syntax
Merge pull request #939 from carolinux/test_coverage_improvements

Added test for dbstore.getOrCreate
move custom loglevel setup to node/__init__.py

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
log output: initial move to DATADUMP

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
add custom logging level DEBUGV=9

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
log output: initial move to DEBUGV

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #884 from Renelvon/modern

Use forward-compatible python (part 1).
Merge pull request #889 from benemorius/log-datadump

log output: add DEBUGV and begin cleanup
When running configure.sh in Ubuntu, specify python2.7 for virtualenv.
Merge pull request #951 from tortxof/develop

When running configure.sh in Ubuntu, specify python2.7 for virtualenv.
Fix run.ps1 to properly start openbazaar after pull request #889
Merge pull request #958 from yagoulas/fix_win_script

Fix run.ps1 to properly start openbazaar after pull request #889
Streamline _on_raw_message.
Simplify signature verification.

* We cannot avoid loading the data before verifying because it contains
  the pubkey.
Extract message deserialization.

* Dump validate_signature.
Verify the handshake type.
Split deserialization into many methods.

* Drop is_handshake.
No need to keep the keys as attributes.

* The keys can always be derived from the cryptor, though they will be
  in pyelliptic format.