Skip to content

Commit

Permalink
Separate the old CLI version from the new web version (#1)
Browse files Browse the repository at this point in the history
The old CLI version is written in Python.
The new web version is written in JavaScript.
  • Loading branch information
vog committed Nov 25, 2013
1 parent 3476782 commit dee3083
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bitcoin_test → cli/bitcoin_test
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

import json
import sys

sys.path.append('src')
import bitcoin

with open('testdata.json', 'r') as f:
with open('../src/testdata.json', 'r') as f:
testdata = json.load(f)
for timeproof in testdata['bitcoinproof']:
assert bitcoin.b58encode(bitcoin.publickey_to_address(timeproof['data'])) == timeproof['addr']
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit dee3083

Please sign in to comment.