Testing BitShares XT Launch...

Started by bytemaster, May 02, 2014, 07:42:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bytemaster


Quote from: toast on May 03, 2014, 02:10:26 AM
import_private_key then getbalance is not giving me anything from my feb28 snapshot keys

Rescan?


Sent from my iPhone using Tapatalk
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.


toast

import_private_key then getbalance is not giving me anything from my feb28 snapshot keys
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

bytemaster

Should be feb 28 th snapshot.


Sent from my iPhone using Tapatalk
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

bytemaster

I need to add an rpc call for that. 


Sent from my iPhone using Tapatalk
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

zhangweis

How can I get block's transactions? I can't get that using getblock or get_block_by_number.

I can see there're transactions in block 26 like below but don't know how I can get transactions in it using command or rpc:

>>> get_block_by_number 26
{
  "version": 0,
  "block_num": 26,
  "prev": "8b9fec8966c166561b3ff1208afa85d40e372406",
  "timestamp": "20140502T194000",
  "next_fee": 1000,
  "next_reward": 200,
  "total_shares": 395999999969737,
  "trx_mroot": "14bd6552eef12700e5316b6cad5f4dcd0f3b4170",
  "trustee_signature": "1fd4cd992fd9a5219708a1f3a9a6bfd07fcbe75084fed2022e54e43fb50d90704e476c3ed650c6e8ddab777fb1867d6b1b334ebe142ec67b2f3e5639b4f613a1ee"
}

Weibo:[url="http://weibo.com/zhangweis"]http://weibo.com/zhangweis[/url]

toast

What's in the genesis block? Doesn't include a really old AGS donation of mine
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

CLains

Vote for BitSpace EOS Block Producer!

[url="https://steemit.com/eos/@bitspace/bitspace-eos-block-producer-candidate"]https://steemit.com/eos/@bitspace/bitspace-eos-block-producer-candidate[/url]

bytemaster

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Amazon

Forum Donation: PforumPLfVQXTi4QpQqKwoChXHkoHcxGuA

xeroc


taoljj

BTS      Witness: delegate.taoljj

bytemaster

The wallet functions are very crude right now, but they get the job done.
The web interface to the wallet will be made available as soon as it is ready.

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

bytemaster

Anyone who cares to compile the code can now connect to the XT network by running this command:

./bts_xt_client --trustee-address 9gWvCSLaAA67Rwg9AEvPAttUrdr9pXXKk --connect-to 107.170.30.182:8765 --data-dir data

When you first launch the client it will ask you to create an account.  For now keep the first password it asks you for blank, this will keep everything but your private keys unencrypted.   When asked for your second password enter something strong enough to protect your spending keys.

You will be given a command line interface... here are some basic commands you may want to try:


>>>help
>>>import_bitcoin_wallet "full_path_to_wallet" "bitcoinwalletpassword"
>>>rescan
>>> getbalance
678238484237

>>>getnewaddress "account"
ArU5RfEEHypBzs8FaAZ4arfvc8TfZFSgX

>>>sendtoaddress  ArU5RfEEHypBzs8FaAZ4arfvc8TfZFSgX  ALL_YOUR_MONEY

About to broadcast transaction:

Inputs:
  678238484237 claim_by_pts PiSCkixAS9t7XXcXV8VpxLXAAzg1TkfG4d
Outputs:
  10000 claim_by_signature ArU5RfEEHypBzs8FaAZ4arfvc8TfZFSgX
  678238474070 claim_by_signature PQnSj1kY8zftZCrZUbEqewEZNFWkEby1W

Total in: 678238484237
Total out: 678238484070
Fee: 167

Send this transaction? (Y/n)
>>> Y
Transaction sent (id is 14bd6552eef12700e5316b6cad5f4dcd0f3b4170)

>>>

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.