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 - lib

Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 ... 17
91

Hi,

This morning when I tried to run protoshares-qt.exe I got the message "Error loading block database. Do you want to rebuild the block?". IRCC protosjares-qt was properly closed last time I used it.

Here is the debug.log:

ProtoShares version v0.8.5.0-unk-beta (Nov  7 2013, 12:07:19)
Using OpenSSL version OpenSSL 1.0.1e 11 Feb 2013
Startup time: 2014-01-15 07:39:53
Default data directory C:\users\roger\Application Data\ProtoShares
Using data directory C:\users\roger\Application Data\ProtoShares
Using at most 125 connections (2048 file descriptors available)
Using 2 threads for script verification
init message: Verifying wallet...
dbenv.open LogDir=C:\users\roger\Application Data\ProtoShares\database ErrorFile=C:\users\roger\Application Data\ProtoShares\db.log
Bound to [::]:3888
Bound to 0.0.0.0:3888
init message: Loading block index...
Opening LevelDB in C:\users\roger\Application Data\ProtoShares\blocks\index
Opened LevelDB successfully
Opening LevelDB in C:\users\roger\Application Data\ProtoShares\chainstate
Opened LevelDB successfully
ERROR: CheckProofOfWork() : hash doesn't match nBits
ERROR: LoadBlockIndex() : CheckIndex failed: CBlockIndex(pprev=02EE7B70, pnext=00000000, nHeight=40982, merkle=bf59006d38733cf29acacd8daef24ce39760459f26524e0fe2d3ad319134b840, hashBlock=ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)


Questions:
1) what does this "ERROR: CheckProofOfWork() : hash doesn't match nBits" mean? Which can be the causes?
2) Is save to "rebuild the block"? Which are the consequences?
3) If "rebuild the block" is not the way to go, what do you recomend me to do?
4) Last one, are my PTS save?

Thanks in advance.

I came across the same situation the day before. And blow is how i fixed it.  May answer your question #2 & #3 & #4

Here is my way to resolve "Error reloading block database. Do you want to rebuild the block database now?" when starting mac client(it will always failed when you click yes and quit when no). Hope its useful for someone in the same situation.

Before you take any action to fix the problem, BACKUP YOUR WALLET!

1. start the client with command line" ProtoShares-Qt -reindex".

2. after reindexing, "no block source" for 1 hour, so i found some node from this thread(https://bitsharestalk.org/index.php?topic=355.0).

its useful:help->debug->console and input commands:
addnode 61.238.157.8 add
addnode 54.254.192.95 add
addnode 54.207.21.146 add
addnode 54.206.30.227 add
addnode 54.219.164.14 add
addnode 146.185.172.136 add
addnode 162.243.14.13 add
addnode 5.9.24.81 add
addnode 23.92.25.118 add

92
Technical Support / Re: Get sender address from RPC api
« on: January 15, 2014, 04:43:00 am »
hi and sorry,

i try to understand this world and i try to crate a game/services.

My program in c# .net call the wallet by RPC, but how i can get sender address ?

for now i can get the transaction on specific account by listtransactions, i try getrawtransaction verbose or decoderawtransaction, but i can't get the address of sender.

Can you help me?

From same code on github I understand that is possible or necessary analize all blockchain for get the sender address because is necessary analise all out address.
May be sufficient the single raw transaction?

So the problem is "get the senders address from a transaction"? Have you considered the api provide by https://blockchain.info/api/blockchain_api ?
Guess you can use this method http://blockchain.info/rawtx/$tx_hash to get the senders address.
Like this one https://blockchain.info/rawtx/f2149245ecb9e7634b49c7feae3014dda62cdc6448a0647eecfc6f56f5d2e611

93
中文 (Chinese) / Re: 25号迈阿密比特币会议
« on: January 15, 2014, 03:07:14 am »

希望能见到各位。
也是Bitshares 的全球品牌市场推广的启动之日。

遥祝。一定要给力 ;D

94
中文 (Chinese) / Re: [翻译贴]BitShares状态更新[1.10更新]
« on: January 14, 2014, 02:49:13 pm »
希望能在今年9月份之前看到bitshares的发布

今天bytemaster更新了BitShares的最小可用版本还需要做的事情(https://bitsharestalk.org/index.php?topic=1890.msg28162#msg28162)

1、清理命令行界面,消除一些控制台SPAM;
2、增加市场数据的显示(订单和当前价格);
3、增加自动追缴保证金功能;
4、完成客户端/服务器模式的网络通信;
5、增加因空/多仓位引起的利息计算;
6、增加因持有BTS获得红利的计算;
7、集成PTS&BTC钱包的导入工具;
8、初始化创世区块链(Initialize genesis block and validate I can spend AGS and PTS balances.)

95
中文 (Chinese) / Re: AGS集资的问题
« on: January 14, 2014, 12:29:00 pm »
如果一次性募资完成,对投资者也是一种风险。
把一切交给市场,市场的力量会调节参与其中人的行为。
目前的方式,让参与者有足够的时间去观察、了解、学习和做决定。

97
Technical Support / Re: Mac wallet - no block source
« on: January 14, 2014, 03:24:42 am »
So i decided to finally move my protos from cryptsy to my own wallet, downloaded the mac wallet and it just won't connect, "no block source available"

i tried the debug method addnode add and also onetry no luck.

Anyone else was able to solve this ? seems like many ppl have this issue but no solutions yet ?

I came up the same problem with mac client this evening and found some useful node here(https://bitsharestalk.org/index.php?topic=355.0).
Guess you can try the same way.
help->debug->console and input commands:
addnode 61.238.157.8 add
addnode 54.254.192.95 add
addnode 54.207.21.146 add
addnode 54.206.30.227 add
addnode 54.219.164.14 add
addnode 146.185.172.136 add
addnode 162.243.14.13 add
addnode 5.9.24.81 add
addnode 23.92.25.118 add

thnx lib, its syncronizing now but v v v v slow :-P

im kinda giving up on the mac client if it doesnt improve in the next day or so lol

hang on ;D

98
Here is my way to resolve "Error reloading block database. Do you want to rebuild the block database now?" when starting mac client(it will always failed when you click yes and quit when no). Hope its useful for someone in the same situation.

Before you take any action to fix the problem, BACKUP YOUR WALLET!

1. start the client with command line" ProtoShares-Qt -reindex".

2. after reindexing, "no block source" for 1 hour, so i found some node from this thread(https://bitsharestalk.org/index.php?topic=355.0).

its useful:help->debug->console and input commands:
addnode 61.238.157.8 add
addnode 54.254.192.95 add
addnode 54.207.21.146 add
addnode 54.206.30.227 add
addnode 54.219.164.14 add
addnode 146.185.172.136 add
addnode 162.243.14.13 add
addnode 5.9.24.81 add
addnode 23.92.25.118 add

99
Technical Support / Re: Mac wallet - no block source
« on: January 13, 2014, 07:07:07 pm »
So i decided to finally move my protos from cryptsy to my own wallet, downloaded the mac wallet and it just won't connect, "no block source available"

i tried the debug method addnode add and also onetry no luck.

Anyone else was able to solve this ? seems like many ppl have this issue but no solutions yet ?

I came up the same problem with mac client this evening and found some useful node here(https://bitsharestalk.org/index.php?topic=355.0).
Guess you can try the same way.
help->debug->console and input commands:
addnode 61.238.157.8 add
addnode 54.254.192.95 add
addnode 54.207.21.146 add
addnode 54.206.30.227 add
addnode 54.219.164.14 add
addnode 146.185.172.136 add
addnode 162.243.14.13 add
addnode 5.9.24.81 add
addnode 23.92.25.118 add

100
我查了我钱包的地址,的确有这么一个地址隐含着,但是这个以后会算成我的股份吗?

保留好你的wallet.dat文件,以后都会一起结算的。

101
中文 (Chinese) / Re: AGS支持的捐赠钱包是哪些呢
« on: January 13, 2014, 11:38:23 am »
; :o我明白将来的dac客户端导入捐赠的信息就可以,但是这个信息是钱包文件还是什么?比如说blockchain coinbase在线钱包捐赠可以么?本地客户端的话又有哪些呢,Bitcoin-Qt  multibit Armory,都可以么?3i有没有说明白支持的钱包包括哪些?

理论上说,只要是你拥有私钥的钱包地址(比如交易所里存的钱,你没有它的私钥)都可以。
但普遍使用的应该是Bitcoin-Qt客户端。

102
Technical Support / Re: How to setup a protoshare pool
« on: January 12, 2014, 10:24:47 am »
There is a sub board here(https://bitsharestalk.org/index.php?board=11.0) all about mining which might help you.

103
Technical Support / Re: Question about claiming MMC coin
« on: January 12, 2014, 09:05:30 am »
Hi, I have > 10 PTS, I tried following 2 steps:
1. dumpprivkey ... on protoshares-qt
2. importprivkey ... on mmc client
but nothing get.
are there any other prerequisite?

Do you have your PTS in your wallet before block 32000?
After that block, MMC can not be claimed.

The time is 12/12/2013 12:05:31 AM (UTC)
https://coinplorer.com/PTS/Blocks/0000004185fd369bd5515f33b503d81eeaa1e4fa46a85cc2dcf214a91dc01994

104
中文 (Chinese) / Re: 请教共识机制的原理
« on: January 11, 2014, 04:39:00 pm »
BTS是要放弃pow,改为pos+consensus,对这个consensus一直没搞懂,看ripple wiki上的说明也看不懂。
请问共识机制到底是怎样的啊?BTS把pos和consensus结合起来又是怎样的呢?

好问题。
小版也在努力学习中,还请达人指点 :)

105
Quote
如果能形成一个共识,认为比特黄金就是由当前红利率下的1盎司黄金债券的衍生品,那么所有的市场参与者都将获利。然而,市场不会一开始就‘信任’比特黄金。结果是所有的市场参与者最初挂单的价格会很散。当市场深度增加价格范围会缩小直到一个市场共识价格形成,该价格会接近当前红利率下的1盎司黄金债券的价格。


为什么市场会形成一个价格共识,感觉更像是一种主观的推测,而没有理论依据或者数学基础

[Update]谁能详细解释清楚这个问题, 有0.5PTS Tip

暴走恭亲王有一篇文章,推荐一读。http://8btc.com/thread-1468-1-1.html

Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 ... 17