Show Posts

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.


Messages - abit

Pages: 1 ... 285 286 287 288 289 290 291 [292] 293 294 295 296 297 298 299 ... 309
4366
General Discussion / Re: Hardware wallet
« on: January 25, 2015, 05:29:30 am »
... a BitShares hardware wallet.  Purchasers of this hardware wallet (like any purchaser of a Dawn product) will receive an ownership stake in Dawn and a kick-ass hardware wallet.
...
The quantity is limited, right? How many?

4367
General Discussion / Invictus Domain Names Abandoned?
« on: January 25, 2015, 05:21:04 am »
invictus-innovations.com
   Expiration Date: 03-jul-2015

Website Expired

invictus.io
Status : pendingDelete
Expiry : 2014-12-15

Isn't it better to renew them and link to bitshares.org?

4368
Technical Support / Re: 0.5.1 and 0.5.3 are unusable for me
« on: January 24, 2015, 12:46:12 pm »
I'm running a delegate node and the 0.5.3 upgrade seems to have networking issues.
Looks like it's connecting to itself as a peer and there are race conditions in the code that gets confused about the state of the  sync blocks and disconnects (from itself).
Code: [Select]
Peer <my-own-public-ip>:47595 disconnected us: You offered me a list of more sync blocks than could possibly exist
Peer <my-own-public-ip>:36004 disconnected us: You offered me a list of more sync blocks than could possibly exist
--- there are now 30 active connections to the p2p network
--- there are now 26 active connections to the p2p network
--- there are now 23 active connections to the p2p network
--- there are now 4 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 4 active connections to the p2p network
--- in sync with p2p network
--- there are now 19 active connections to the p2p network
--- there are now 18 active connections to the p2p network
--- there are now 4 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- there are now 0 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 4 active connections to the p2p network
--- there are now 17 active connections to the p2p network

Also, on initial start up of 0.5.3 I'm seeing the connection count climb to over 130.
(And I'm about to be bumped off of the top 101...)
Try to remove the peers.leveldb folder and restart?

4369
Technical Support / Re: Vesting balance disappeared
« on: January 24, 2015, 12:42:48 pm »
Same account in both windows and linux wallet?
You may need to try the command 'wallet_repair_records'

4370
There's definitely something fishy going on with the price_history command that's used to generate that candlechart. I have an issue open on Github for it, Vikram has added it to the 0.7 milestone: https://github.com/BitShares/bitshares/issues/1300

I added a comment to this issue. My patch may fix monsterer's problem, but no idea about the problem in OP.

EDIT:
The part of code in market_engine.cpp which deals with market history looks like a total mess.. >:(
I'm trying to figure it out. Headache.

EDIT again:
Comment on the issue updated. May work. Not tested though. (Don't know whether need to modify market_engine_v*.cpp)

4371
http://wiki.bitshares.org/index.php/BitShares_X_Glossary#Account

个人理解,大部分操作是使用active_key来做的;有了owner_key可以修改active_key。

具体使用范围,目前估计只能去看代码,不过代码也可能写错的。

4372
From your screenshot, we can find that the orders executed at 86.4393 indeed.
It's a feature.
If someone (say Alice) asks 1 usd for 86 bts, and another one (say Bob) bids 1 usd at 94 bts, both of them will get what they want: Alice will get 86 bts and pay 1 usd, and Bob will get 1 usd and pay 94 bts. The difference (94-86=8bts) will be destroyed (as fee).

4373
General Discussion / Re: Possible log in to this forum with BTS id?
« on: January 24, 2015, 05:00:58 am »
Yes it is apache. I use a command lsof to match up open file handles to processes.  There is another problem where the wallet had the ports locked up by the OS after quitting but it isn't the problem.  My problem has only happened once, I just realized how annoying it is because even when I stopped apached the port was not immediately available.  So if the wallet dies and tries to bind to that port and there is this weird race condition where the easybitcoin php lib keeps it from binding... then wallet can never start. THere is also a chance that the options for the socket creation in the wallet constrain it too much. It has to be fixed in php but if there were other suggestions to put in the readme file.. that could be considered a solution, but this is a php project that interacts with RPC and SMF.

I have a list of php options that might would fix it in a different manner, but it really isn't a show stopper.  Just a bit puzzling.  Anyway, it will likely just be made an issue on github and i'll consider it done.
Looks like the cause of your problem is out of my knowledge.. Wish you good luck anyway.

4374
General Discussion / Re: Possible log in to this forum with BTS id?
« on: January 24, 2015, 04:16:16 am »
CURLOPT_LOCALPORT has a random value by default. I checked the easybitcoin code and didn't find the option, so it should be ok.

Are you sure the port is bond by apache, but not the wallet itself (or previous instance of the wallet)? Is the problem only happens when restarting the wallet? In my Linux box, after a wallet quits, the ports will still be unavailable for some time (2 minutes by default), with some connections remain 'TIME_WAIT' state. You can check it with 'netstat -an | grep YOUR_PORT'. I don't know if it's a bug of the wallet or it's a feature of Linux though (whether the wallet properly closes all connections before quit). If it's a feature of Linux, it's possible to tweak via 'sysctl' utility:
Code: [Select]
sysctl net.ipv4.tcp_tw_reuse = 1
sysctl net.ipv4.tcp_tw_recycle = 1

EDIT:
Be careful while tweaking kernel options. It may cause other problems occasionally.

EDIT again:
If you have iptables/netfilter loaded into the kernel, you may have interest to try:
Code: [Select]
sysctl net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait = 1
It means every connection will stay in 'TIME_WAIT' state for only one second. Again, be careful.

Another solution could be wait for 2 minutes after the wallet quits, before a restart.
Or change the listening port number every time (and let the php program know it).

BTW does anybody know whether it's necessary for the wallet to check connections in TIME_WAIT state before bind/listen to the port?

4375
General Discussion / Re: Possible log in to this forum with BTS id?
« on: January 24, 2015, 12:59:18 am »
I do have one problem where apache is binding to localhost at the same port and preventing the wallet from connecting.  So it took me shutting down apache and waiting and then starting them up in order.  I have no clue why using a curl-php5  would do this.  I guess I don't understand tcpip ?  Regardless it isn't really acceptable because if the wallet dies, a wallet restart won't work because it fails to bind to that port.  I've read all the curl lib options etc and nothing makes sense except that I don't understand tcpip as well as I thought.  I doubt it'd be a problem if everything wasn't using localhost.
I'm not sure if it's a curl-php5 problem.. Maybe set different ports for apache and the wallet will work.
Could you post your apache config files here?
And the command line you starting your wallet, and the config.json of your wallet?
And the code how you're using curl-php?
Reminder: don't set CURLOPT_LOCALPORT or set it to a different value in curl-php.

4376
这个问题只存在于子账户吧
主账户也有同样情况。子账户也有没问题的。
和创建账户的钱包版本有关系。

4377
General Discussion / Re: Easy-to-use Python RPC API for BitShares
« on: January 23, 2015, 02:56:25 pm »
Interesting!  +5%

4378
中文 (Chinese) / Re: 暂停 BTSBOTS
« on: January 23, 2015, 02:24:14 pm »
为何不找人协助或者接手?
已经习惯了内盘有做市机器人的日子。

4379
中文 (Chinese) / 【注意】关于钱包私钥导出的注意事项
« on: January 23, 2015, 02:22:33 pm »
可能很多人习惯了用导出私钥的方式来备份钱包,像下面这样,在控制台执行命令(将下面test.abit替换成自己的账号):
Code: [Select]
>> wallet_dump_private_key test.abit
"5HtWgbu1vcPe7trStHaVKoRjjPaMaGPzxJgavLHLw1tvPwuCPCx"

但是请注意,这种方法可能会导致账号异常,因为备份出来的私钥可能不完整。

要想查看自己的备份是否存在问题,首先请按下面的命令检查一下要备份的账号(将参数abit或test.abit替换成你的账号)
Code: [Select]
>> wallet_get_account abit
{
...
  "owner_key": "BTS7NLcZJzqq3mvKfcqoN52ainajDckyMp5SYRgzicfbHD6u587ib",
  "active_key_history": [[
      "2014-07-27T10:02:50",
      "BTS7NLcZJzqq3mvKfcqoN52ainajDckyMp5SYRgzicfbHD6u587ib"
    ]
  ],
...
}
Code: [Select]
>> wallet_get_account test.abit
{
...
  "owner_key": "BTS5R1G2iBqAoKAKZCRfJgZA7us7N7xkvSaMwStnY1hkK52s42A56",
  "active_key_history": [[
      "2015-01-07T13:40:53",
      "BTS5j2xL7jKjFprETK1suWfxGEux8gQcuheyaL9nytW9AHtzRDuUz"
    ]
  ],
...
}
可以看到,上面两个账号中,abit的owner_key和active_key是相同的,而test.abit的两个key不同。
原因是创建账号的钱包版本不一样。老版本钱包使用的两个key是相同的,但是从某个版本开始,创建账号时会使用两个不同的key。
(具体这两个key的用途,记得有人发帖说过,我回头找到了再补充)

如果账号的两个key是一样的,以账号名为参数备份私钥的方式就没问题。
如果账号的owner_key和active_key不同,则需要针对两个key分别进行备份,如下:
Code: [Select]
>> wallet_dump_private_key BTS5j2xL7jKjFprETK1suWfxGEux8gQcuheyaL9nytW9AHtzRDuUz
"5HtWgbu1vcPe7trStHaVKoRjjPaMaGPzxJgavLHLw1tvPwuCPCx"
Code: [Select]
>> wallet_dump_private_key BTS5R1G2iBqAoKAKZCRfJgZA7us7N7xkvSaMwStnY1hkK52s42A56
"5JYu4swx6bhpMxJBNU1hCAxPE21eFWt24VphkexexdmVZKutfzg"
可以看到,用active_key导出的私钥,和账号名导出的私钥是相同的。而owner_key导出的私钥不同。实际上owner_key更重要。
将这两个私钥都保存下来就可以了。

导入私钥恢复账号时,需要将两个私钥都导入一遍。

写在最后:
1.下一个版本的钱包,将不再支持用账号名作为参数来导出私钥,只能用key作为参数
2.官方更推荐用导出json的方式来备份钱包

4380
可以先试试这个 http://bitsharesnation.org/ ,是插件作者的,支持bts id登录的

Pages: 1 ... 285 286 287 288 289 290 291 [292] 293 294 295 296 297 298 299 ... 309