91
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
$ curl "https://19800.com/api/v1/ticker?market=cny_bts&nonce=12301231312312321312"
{"data":{"High":0.8,"Low":0.6,"LastPrice":0.75,"TopBid":0.75,"TopAsk":0.753,"Volume":10042142.01421782,"Increase":0.07604},"code":1,"msg":""}
get_asset [资产代码]
unlocked >>> get_asset NEWASSET
get_asset NEWASSET
{
"id": "1.3.123",
"symbol": "NEWASSET",
"precision": 4,
"issuer": "1.2.695",
"options": {
"max_supply": "1000000000000",
"market_fee_percent": 0,
"max_market_fee": 0,
"issuer_permissions": 79,
"flags": 2,
"core_exchange_rate": {
"base": {
"amount": 100000,
"asset_id": "1.3.0"
},
"quote": {
"amount": 10000,
"asset_id": "1.3.123"
}
},
"whitelist_authorities": [],
"blacklist_authorities": [],
"whitelist_markets": [],
"blacklist_markets": [],
"description": "{\"main\":\"\",\"market\":\"TEST\"}",
"extensions": []
},
"dynamic_asset_data_id": "2.3.123"
}
get_account [账户名]
unlocked >>> get_account newaccount1
get_account newaccount1
{
"id": "1.2.695",
...
}
上面结果显示, newaccount1 的 ID 是 1.2.695update_asset [资产代码] [新发行人] [新资产参数] [是否广播]
update_asset NEWASSET null {"max_supply":"1000000000000","market_fee_percent": 0,"max_market_fee": 0,"issuer_permissions": 79,"flags": 2,"core_exchange_rate": {"base": {"amount": 100000,"asset_id":"1.3.0" },"quote": {"amount": 10000,"asset_id":"1.3.123" } },"whitelist_authorities": ["1.2.695"],"blacklist_authorities": [],"whitelist_markets": [],"blacklist_markets": [],"description":"{\"main\":\"\",\"market\":\"TEST\"}","extensions": []} true
unlocked >>> get_account newaccount1
get_account newaccount1
{
...
"whitelisting_accounts": [],
"blacklisting_accounts": [],
"whitelisted_accounts": [],
"blacklisted_accounts": [],
...
}
其中 whitelisted_accounts 就是当前管理员设置的白名单。whitelist_account [操作人账号] [操作对象账号] [增加或删除] [是否广播]
unlocked >>> whitelist_account newaccount1 newaccount2 true false
unlocked >>> get_account newaccount2
get_account newaccount2
{
...
"whitelisting_accounts": [
"1.2.695"
],
"blacklisting_accounts": [],
"whitelisted_accounts": [],
"blacklisted_accounts": [],
...
}
可以看到, newaccount2 已经在 1.2.695 也就是 newaccount1 的白名单里了。因为 newaccount1 是 NEWASSET 资产的白名单管理员,这时 newaccount2 可以正常使用 NEWASSET 资产。unlocked >>> whitelist_account newaccount1 newaccount2 false false
上述命令是将 newaccount2 从 newaccount1 的白名单移除,需要 newaccount1 的权限才能执行。...
git checkout v2.0.160328
# 把这几行加到 `git checkout v2.0.160328` 之后, `make` 之前,重新编译
git remote add abit https://github.com/abitmore/bitshares-2.git
git fetch abit
git merge -m "Merge abit/fix-645-block-timestamp" abit/fix-645-block-timestamp
git submodule update --init --recursive
...
...
git checkout v2.0.160328
# add these lines after `git checkout v2.0.160328` and before `make`
git remote add abit https://github.com/abitmore/bitshares-2.git
git fetch abit
git merge -m "Merge abit/fix-645-block-timestamp" abit/fix-645-block-timestamp
git submodule update --init --recursive
...
2016-07-09T21:00:03 th_a:invoke handle_block handle_block ] Got block: #7723323 time: 2016-07-09T21:00:03 latency: 346 ms from: spectral irreversible: 7723304 (-19) application.cpp:521
2016-07-09T21:00:11 th_a:invoke handle_block handle_block ] Got block: #7723323 time: 2016-07-09T21:00:00 latency: 11829 ms from: verbaltech2 irreversible: 7723305 (-18) application.cpp:521
2016-07-09T21:00:15 th_a:invoke handle_block handle_block ] Got block: #7723324 time: 2016-07-09T21:00:15 latency: 63 ms from: verbaltech2 irreversible: 7723305 (-19) application.cpp:521
2016-07-09T21:00:15 th_a:invoke handle_block handle_block ] Got block: #7723324 time: 2016-07-09T21:00:15 latency: 227 ms from: roadscape irreversible: 7723305 (-19) application.cpp:521
2016-07-09T21:00:24 th_a:invoke handle_block handle_block ] Got block: #7723325 time: 2016-07-09T21:00:24 latency: 199 ms from: delegate.btsnow irreversible: 7723305 (-20) application.cpp:521
2016-07-09T21:00:24 th_a:invoke handle_block handle_block ] Got block: #7723325 time: 2016-07-09T21:00:24 latency: 713 ms from: delegate-clayop irreversible: 7723305 (-20) application.cpp:521
2016-07-09T21:00:30 th_a:invoke handle_block handle_block ] Got block: #7723326 time: 2016-07-09T21:00:30 latency: 309 ms from: abc123 irreversible: 7723305 (-21) application.cpp:521
2016-07-09T21:00:30 th_a:invoke handle_block handle_block ] Got block: #7723326 time: 2016-07-09T21:00:30 latency: 397 ms from: datasecuritynode irreversible: 7723307 (-19) application.cpp:521
2016-07-09T21:00:33 th_a:invoke handle_block handle_block ] Got block: #7723327 time: 2016-07-09T21:00:33 latency: 142 ms from: dele-puppy irreversible: 7723307 (-20) application.cpp:521
2016-07-09T21:00:33 th_a:invoke handle_block handle_block ] Got block: #7723327 time: 2016-07-09T21:00:33 latency: 252 ms from: bue irreversible: 7723305 (-22) application.cpp:521
2016-07-09T21:00:39 th_a:invoke handle_block handle_block ] Got block: #7723328 time: 2016-07-09T21:00:39 latency: 387 ms from: fox irreversible: 7723305 (-23) application.cpp:521
2016-07-09T21:00:42 th_a:invoke handle_block handle_block ] Got block: #7723329 time: 2016-07-09T21:00:42 latency: 149 ms from: spartako irreversible: 7723308 (-21) application.cpp:521
2016-07-09T21:00:45 th_a:invoke handle_block handle_block ] Got block: #7723330 time: 2016-07-09T21:00:45 latency: 156 ms from: rnglab irreversible: 7723309 (-21) application.cpp:521
2016-07-09T21:00:48 th_a:invoke handle_block handle_block ] Got block: #7723331 time: 2016-07-09T21:00:48 latency: 152 ms from: mr.agsexplorer irreversible: 7723309 (-22) application.cpp:521
2016-07-09T21:00:51 th_a:invoke handle_block handle_block ] Got block: #7723332 time: 2016-07-09T21:00:51 latency: 407 ms from: delegate.baozi irreversible: 7723309 (-23) application.cpp:521
2016-07-09T21:00:54 th_a:invoke handle_block handle_block ] Got block: #7723333 time: 2016-07-09T21:00:54 latency: 93 ms from: datasecuritynode irreversible: 7723309 (-24) application.cpp:521
2016-07-09T21:00:54 th_a:invoke handle_block handle_block ] Got block: #7723333 time: 2016-07-09T21:00:54 latency: 93 ms from: datasecuritynode irreversible: 7723309 (-24) application.cpp:521
2016-07-09T21:00:57 th_a:invoke handle_block handle_block ] Got block: #7723334 time: 2016-07-09T21:00:57 latency: 54 ms from: verbaltech2 irreversible: 7723311 (-23) application.cpp:521
2016-07-09T21:01:00 th_a:invoke handle_block handle_block ] Got block: #7723335 time: 2016-07-09T21:01:00 latency: 184 ms from: spectral irreversible: 7723312 (-23) application.cpp:521
1535394ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 83.221.132.47:1776
1541939ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 188.40.91.213:1776
1541939ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 114.92.236.175:62015
1556942ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 71.197.2.119:1776
1561942ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 45.32.247.234:1776
1567965ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 82.211.31.175:1776
1571306ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 159.203.15.153:1776
1572544ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 188.166.188.206:1776
1573421ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 107.170.245.89:1777
1573421ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 54.85.252.77:39705
1573421ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 104.236.144.84:1777
1573421ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 40.127.190.171:1777
1573421ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 185.25.22.21:1776
1573422ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 23.95.43.126:50696
1573422ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 109.73.172.144:50696
1573422ms th_a application.cpp:177 reset_p2p_node ] Adding seed node 128.199.143.47:2015
~$ telnet 83.221.132.47 1776
Trying 83.221.132.47...
^C
~$ telnet 188.40.91.213 1776
Trying 188.40.91.213...
telnet: Unable to connect to remote host: Connection refused
~$ telnet 71.197.2.119 1776
Trying 71.197.2.119...
telnet: Unable to connect to remote host: Connection refused
~$ telnet 45.32.247.234 1776
Trying 45.32.247.234...
telnet: Unable to connect to remote host: Connection refused
~$ telnet 82.211.31.175 1776
Trying 82.211.31.175...
telnet: Unable to connect to remote host: Connection refused
~$ telnet 159.203.15.153 1776
Trying 159.203.15.153...
telnet: Unable to connect to remote host: Connection refused
~$ telnet 188.166.188.206 1776
Trying 188.166.188.206...
telnet: Unable to connect to remote host: Connection refused
~$ telnet 107.170.245.89 1777
Trying 107.170.245.89...
Connected to 107.170.245.89.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
~$ telnet 54.85.252.77 39705
Trying 54.85.252.77...
^C
~$ telnet 104.236.144.84 1777
Trying 104.236.144.84...
^C
~$ telnet 40.127.190.171 1777
Trying 40.127.190.171...
^C
~$ telnet 185.25.22.21 1776
Trying 185.25.22.21...
^C
~$ telnet 23.95.43.126 50696
Trying 23.95.43.126...
^C
~$ telnet 109.73.172.144 50696
Trying 109.73.172.144...
^C
~$ telnet 128.199.143.47 2015
Trying 128.199.143.47...
telnet: Unable to connect to remote host: Connection refused
~$ telnet 114.92.236.175 62015
Trying 114.92.236.175...
Connected to 114.92.236.175.
Escape character is '^]'.
]▒▒a▒X
▒o▒▒▒g▒▒s▒a▒Z▒f▒^]