-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
throw an error in send_commit() #496
Comments
It seems you're using an old version of BigchainDB Server. Please use the latest version: bigchaindb 2.0.0b9 (Beta 9). |
What is the command to upgrade to bigchaindb 2.0.0b9 ? thanks in advance |
Something like:
or just |
Hey ttmc, After upgrading the bigchaindb to 2.0.0b9 my bigchaindb is not starting. My steps as :
thanks! |
If you installed MongoDB on Ubuntu 18.04 using In general, just see the Simple Deployment Template at: http://docs.bigchaindb.com/projects/server/en/latest/simple-deployment-template/index.html |
Hello Troy, I have followed all the steps which is mentioned in the template above. I have installed the bigchaindb in two machine in VirtualBox with the IP : XXX.XX.XX.92:9984 and XXX.XX.XX.93:9984. I am able to access both IP and in the third machine I am getting the welcome json of BigchainDb. And genesis.json is same in both the machine and in config.toml I have changes which is asked in the template. When I ran my script to Create assets I can view in only one machine not in second machine. Can you please help me out here. I am viewing my assets my the command:
My script is 👍 `from bigchaindb_driver import BigchainDB from bigchaindb_driver.crypto import generate_keypair game_boy_token = { prepared_token_tx = bdb.transactions.prepare( fulfilled_token_tx = bdb.transactions.fulfill( transfer_asset = {'id': fulfilled_token_tx['id']} prepared_transfer_tx = bdb.transactions.prepare( fulfilled_transfer_tx = bdb.transactions.fulfill( FYI : I am looking for shared assets rather then transferring assets: For ex: If Node 1 create asset it will be shared with the all other nodes which is connected. |
bigchaindb -v
): 1.3.0Description
I have successfully installed the bigchaindb and its running in the http://localhost:9984/ I can see the welcome json. I am trying to do my first transaction on which I am getting an error
My python script is :
`from bigchaindb_driver import BigchainDB
bdb_root_url = 'http://localhost:9984'
bdb = BigchainDB(bdb_root_url)
generate a keypair
from bigchaindb_driver.crypto import generate_keypair
alice, bob = generate_keypair(), generate_keypair()
create a digital asset for Alice
game_boy_token = {
'data': {
'token_for': {
'game_boy': {
'serial_number': 'LR35902'
}
},
'description': 'Time share token. Each token equals one hour of usage.',
},
}
prepare the transaction with the digital asset and issue 10 tokens for Bob
prepared_token_tx = bdb.transactions.prepare(
operation='CREATE',
signers=alice.public_key,
recipients=[([bob.public_key], 10)],
asset=game_boy_token)
fulfill and send the transaction
fulfilled_token_tx = bdb.transactions.fulfill(
prepared_token_tx,
private_keys=alice.private_key)
print(fulfilled_token_tx)
bdb.transactions.send_commit(fulfilled_token_tx)`
In send_commit I am getting an error :
I would like to point few things :
The text was updated successfully, but these errors were encountered: