Author

Topic: reindexing every time. (Read 536 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
April 15, 2016, 09:17:30 PM
#4
When I stop bitcoind and restart it. it always start with reindexing.

does anyone know why?
Check the command that you are using to start it. If you start with the -reindex option, it will always start with a reindex.

With the log, you need to provide all of it as segments of it may not contain the error.
newbie
Activity: 9
Merit: 0
April 15, 2016, 07:11:43 PM
#3
in log it just start up here is the log in beginning



2016-04-15 22:48:33 Bitcoin version v0.12.0.0-g188ca9c (Wed, 17 Feb 2016 09:40:03 +0100)
2016-04-15 22:48:33 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2016-04-15 22:48:33 Using OpenSSL version OpenSSL 1.0.1f 6 Jan 2014
2016-04-15 22:48:33 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2016-04-15 22:48:33 Default data directory /home/ubuntu/.bitcoin
2016-04-15 22:48:33 Using data directory /home/ubuntu/.bitcoin
2016-04-15 22:48:33 Using config file /home/ubuntu/.bitcoin/bitcoin.conf
2016-04-15 22:48:33 Using at most 125 connections (1024 file descriptors available)
2016-04-15 22:48:33 Using 16 threads for script verification
2016-04-15 22:48:33 scheduler thread start
2016-04-15 22:48:33 HTTP: creating work queue of depth 16
2016-04-15 22:48:33 Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation.HTTP: starting 4 worker threads
2016-04-15 22:48:33 Using wallet wallet.dat
2016-04-15 22:48:33 init message: Verifying wallet...
2016-04-15 22:48:33 CDBEnv::Open: LogDir=/home/ubuntu/.bitcoin/database ErrorFile=/home/ubuntu/.bitcoin/db.log
2016-04-15 22:48:33 Bound to [::]:8333
2016-04-15 22:48:33 Bound to 0.0.0.0:8333
2016-04-15 22:48:33 Cache configuration:
2016-04-15 22:48:33 * Using 2.0MiB for block index database
2016-04-15 22:48:33 * Using 32.5MiB for chain state database
2016-04-15 22:48:33 * Using 65.5MiB for in-memory UTXO set
2016-04-15 22:48:33 init message: Loading block index...
2016-04-15 22:48:33 Wiping LevelDB in /home/ubuntu/.bitcoin/blocks/index
2016-04-15 22:48:33 Opening LevelDB in /home/ubuntu/.bitcoin/blocks/index
2016-04-15 22:48:33 Opened LevelDB successfully
2016-04-15 22:48:33 Using obfuscation key for /home/ubuntu/.bitcoin/blocks/index: 0000000000000000
2016-04-15 22:48:33 Wiping LevelDB in /home/ubuntu/.bitcoin/chainstate
2016-04-15 22:48:34 Opening LevelDB in /home/ubuntu/.bitcoin/chainstate
2016-04-15 22:48:34 Opened LevelDB successfully
2016-04-15 22:48:34 Wrote new obfuscate key for /home/ubuntu/.bitcoin/chainstate: [xxx]
2016-04-15 22:48:34 Using obfuscation key for /home/ubuntu/.bitcoin/chainstate: [xxx]
2016-04-15 22:48:34 Initializing databases...
2016-04-15 22:48:34 init message: Verifying blocks...
2016-04-15 22:48:34  block index              99ms
2016-04-15 22:48:34 init message: Loading wallet...
2016-04-15 22:48:34 nFileVersion = 120000
2016-04-15 22:48:34 Keys: 0 plaintext, 100002 encrypted, 100002 w/ metadata, 100002 total
2016-04-15 22:48:34  wallet                  859ms
2016-04-15 22:48:34 init message: Activating best chain...
2016-04-15 22:48:34 Waiting for genesis block to be imported...
2016-04-15 22:48:34 Reindexing block file blk00000.dat...
2016-04-15 22:48:34 UpdateTip: new best=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f  height=0  log2_work=32.000022  tx=1  date=2009-01-03 18:15:05 progress=0.000000  cache=0.0MiB(0tx)
2016-04-15 22:48:34 Pre-allocating up to position 0x100000 in rev00000.dat
2016-04-15 22:48:34 mapBlockIndex.size() = 2
2016-04-15 22:48:34 nBestHeight = 0
2016-04-15 22:48:34 setKeyPool.size() = 49998
2016-04-15 22:48:34 mapWallet.size() = 0
2016-04-15 22:48:34 mapAddressBook.size() = 3
2016-04-15 22:48:34 init message: Loading addresses...
2016-04-15 22:48:34 torcontrol thread start
2016-04-15 22:48:34 UpdateTip: new best=00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048  height=1  log2_work=33.000022  tx=2  date=2009-01-09 02:54:25 progress=0.000000  cache=0.0MiB(1tx)
2016-04-15 22:48:34 UpdateTip: new best=000000006a625f06636b8bb6ac7b960a8d03705d1ace08b1a19da3fdcc99ddbd  height=2  log2_work=33.584985  tx=3  date=2009-01-09 02:55:44 progress=0.000000  cache=0.0MiB(2tx)
2016-04-15 22:48:34 UpdateTip: new best=0000000082b5015589a3fdf2d4baff403e6f0be035a5d9742c1cae6295464449  height=3  log2_work=34.000022  tx=4  date=2009-01-09 03:02:53 progress=0.000000  cache=0.0MiB(3tx)
2016-04-15 22:48:34 UpdateTip: new best=000000004ebadb55ee9096c9a2f8880e09da59c0d68b1c228da88e48844a1485  height=4  log2_work=34.32195  tx=5  date=2009-01-09 03:16:28 progress=0.000000  cache=0.0MiB(4tx)
2016-04-15 22:48:34 UpdateTip: new best=000000009b7262315dbf071787ad3656097b892abffd1f95a1a022f896f533fc  height=5  log2_work=34.584985  tx=6  date=2009-01-09 03:23:48 progress=0.000000  cache=0.0MiB(5tx)
2016-04-15 22:48:34 UpdateTip: new best=000000003031a0e73735690c5a1ff2a4be82553b2a12b776fbd3a215dc8f778d  height=6  log2_work=34.807377  tx=7  date=2009-01-09 03:29:49 progress=0.000000  cache=0.0MiB(6tx)
2016-04-15 22:48:34 UpdateTip: new best=0000000071966c2b1d065fd446b1e485b2c9d9594acd2007ccbd5441cfc89444  height=7  log2_work=35.000022  tx=8  date=2009-01-09 03:39:29 progress=0.000000  cache=0.0MiB(7tx)
2016-04-15 22:48:34 UpdateTip: new best=00000000408c48f847aa786c2268fc3e6ec2af68e8468a34a28c61b7f1de0dc6  height=8  log2_work=35.169947  tx=9  date=2009-01-09 03:45:43 progress=0.000000  cache=0.0MiB(8tx)
2016-04-15 22:48:34 UpdateTip: new best=000000008d9dc510f23c2657fc4f67bea30078cc05a90eb89e84cc475c080805  height=9  log2_work=35.32195  tx=10  date=2009-01-09 03:54:39 progress=0.000000  cache=0.0MiB(9tx)
2016-04-15 22:48:34 UpdateTip: new best=000000002c05cc2e78923c34df87fd108b22221ac6076c18f3ade378a4d915e9  height=10  log2_work=35.459454  tx=11  date=2009-01-09 04:05:52 progress=0.000000  cache=0.0MiB(10tx)
2016-04-15 22:48:34 UpdateTip: new best=0000000097be56d606cdd9c54b04d4747e957d3608abe69198c661f2add73073  height=11  log2_work=35.584985  tx=12  date=2009-01-09 04:12:40 progress=0.000000  cache=0.0MiB(11tx)
2016-04-15 22:48:34 UpdateTip: new best=0000000027c2488e2510d1acf4369787784fa20ee084c258b58d9fbd43802b5e  height=12  log2_work=35.700462  tx=13  date=2009-01-09 04:21:28 progress=0.000000  cache=0.0MiB(12tx)
2016-04-15 22:48:34 UpdateTip: new best=000000005c51de2031a895adc145ee2242e919a01c6d61fb222a54a54b4d3089  height=13  log2_work=35.807377  tx=14  date=2009-01-09 04:23:40 progress=0.000000  cache=0.0MiB(13tx)
2016-04-15 22:48:34 UpdateTip: new best=0000000080f17a0c5a67f663a9bc9969eb37e81666d9321125f0e293656f8a37  height=14  log2_work=35.906913  tx=15  date=2009-01-09 04:33:09 progress=0.000000  cache=0.0MiB(14tx)
2016-04-15 22:48:34 UpdateTip: new best=00000000b3322c8c3ef7d2cf6da009a776e6a99ee65ec5a32f3f345712238473  height=15  log2_work=36.000022  tx=16  date=2009-01-10 04:45:46 progress=0.000000  cache=0.0MiB(15tx)
2016-04-15 22:48:34 UpdateTip: new best=00000000174a25bb399b009cc8deff1c4b3ea84df7e93affaaf60dc3416cc4f5  height=16  log2_work=36.087485  tx=17  date=2009-01-10 04:45:58 progress=0.000000  cache=0.0MiB(16tx)
2016-04-15 22:48:34 UpdateTip: new best=000000003ff1d0d70147acfbef5d6a87460ff5bcfce807c2d5b6f0a66bfdf809  height=17  log2_work=36.169947  tx=18  date=2009-01-10 05:03:11 progress=0.000000  cache=0.0MiB(17tx)
2016-04-15 22:48:34 UpdateTip: new best=000000008693e98cf893e4c85a446b410bb4dfa129bd1be582c09ed3f0261116  height=18  log2_work=36.24795  tx=19  date=2009-01-10 05:12:14 progress=0.000000  cache=0.0MiB(18tx)
2016-04-15 22:48:34 UpdateTip: new best=00000000841cb802ca97cf20fb9470480cae9e5daa5d06b4a18ae2d5dd7f186f  height=19  log2_work=36.32195  tx=20  date=2009-01-10 05:22:54 progress=0.000000  cache=0.0MiB(19tx)
2016-04-15 22:48:34 UpdateTip: new best=0000000067a97a2a37b8f190a17f0221e9c3f4fa824ddffdc2e205eae834c8d7  height=20  log2_work=36.392339  tx=21  date=2009-01-10 05:39:55 progress=0.000000  cache=0.0MiB(20tx)
2016-04-15 22:48:34 UpdateTip: new best=000000006f016342d1275be946166cff975c8b27542de70a7113ac6d1ef3294f  height=21  log2_work=36.459454  tx=22  date=2009-01-10 05:49:13 progress=0.000000  cache=0.0MiB(21tx)
2016-04-15 22:48:34 UpdateTip: new best=0000000098b58d427a10c860335a21c1a9a7639e96c3d6f1a03d8c8c885b5e3b  height=22  log2_work=36.523584  tx=23  date=2009-01-10 06:04:27 progress=0.000000  cache=0.0MiB(22tx)
2016-04-15 22:48:34 UpdateTip: new best=000000000cd339982e556dfffa9de94744a4135c53eeef15b7bcc9bdeb9c2182  height=23  log2_work=36.584985  tx=24  date=2009-01-10 06:06:51 progress=0.000000  cache=0.0MiB(23tx)


legendary
Activity: 4130
Merit: 1307
April 15, 2016, 06:21:05 PM
#2
Which version? Does the log say anything?
newbie
Activity: 9
Merit: 0
April 15, 2016, 05:52:02 PM
#1
When I stop bitcoind and restart it. it always start with reindexing.

does anyone know why?
Jump to: