V 0.X Bitshares
תוכן עניינים |
general
local storage
du -hs ~/.BitShares/*
heb wiki
http://bitshares.wiki.co.il/
using RPC
https://github.com/BitShares/bitshares
vim config.json
curl --user USERNAME:PASSWORD http://127.0.0.1:1776/rpc -X POST -H 'Content-Type: application/json' -d '{"method" : "blockchain_get_account", "params" : ["dev0.theoretical"], "id" : 1}'
{"method" : "blockchain_get_account", "params" : ["init0"], "id" : 1}
{"method":"about", "params": [], "id" : 1}
curl --user ... http://127.0.0.1:1776/rpc -X POST -H 'Content-Type: application/json' -d '{"method" : "about", "params" : [], "id" : 1}'
Available/Total Supply Available Supply
that supply increases with delegate pay and decreases with fees collected from transactions and registrations. You can see a graph of the supply change here: http://bitsharesblocks.com/supply
bitshares_client
Configuration file settings
API
http://wiki.bitshares.org/index.php/BitShares/API Configuration of the BitShares Client no work
https://github.com/xeroc/python-bitsharesrpc
https://github.com/BitShares/qt_wallet/blob/master/login.php
Book ask bid
https://github.com/BitShares/bitshares/issues/1294
blockchain_market_order_book <quote_symbol> <base_symbol> [limit] blockchain_market_order_book USD BTS 10 wallet_market_submit_bid
bitshares quote_symbol base_symbol
php
connect using PHP https://bitsharestalk.org/index.php?topic=8654.0
Unable to sync blockchain
https://bitsharestalk.org/index.php?topic=15114.0 https://bitsharestalk.org/index.php?topic=15020.msg195147#msg195147
hang sync hang block
bitshare syncronisation hang on block bitshares synchronisation hang on block stuck on block
In the past deleting all files and folders (DO NOT delete the Wallets folder!) from your AppData Bitshares folder would resolve problems like this by redownloading the blockchain, this will take some time.
Take some wallet backups before you do this.
2074788
https://github.com/BitShares/bitshares/wiki/BitShares-Client-Command-Line-Arguments
Set network port to listen on. --p2p-port
--accept-incoming-connections false
--data-dir
--max-connections
web access
bitshares_client web access bitshares_client web wallet --server
https://github.com/BitShares/web_wallet
./bitshares_client --server \
--rpcuser=test --rpcpassword=test \ --httpdendpoint=127.0.0.1:5000
https://bitsharestalk.org/index.php?topic=12118.0
/home2/bit-shares/bitshares_client \ --accept-incoming-connections false \ --max-connections 7 \ --total-bandwidth-limit 1000000 \ --data-dir /home2/bit-shares/data --server \ --rpcuser=test --rpcpassword=test \ --httpdendpoint=127.0.0.1:5000
127.0.0.1:5000
TCP
use --max-connections argument if you want more peers
The port number is 1776 if you want to try it.
I guess BitShares-X works like Bitcoin? If you only have 8 connections you are only downloading and not seeding?