Bitcoin Forum
December 10, 2016, 05:21:02 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 [51]
  Print  
Author Topic: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff  (Read 175857 times)
Wolke
Legendary
*
Offline Offline

Activity: 924


View Profile
August 09, 2015, 02:36:57 PM
 #1001

hey....

i run abe since ~ 8 weeks. it runs good as well.

bit since the 29.07.2015 -> Block 367537 there is no new block in the webinterface.... the mysql ist atm at 369048...

any idea ?

my it freak mean, that the system runs okay... no error...

he ask me if there is any "debug mode"    

EDIT:
this helps an makes abe faster...

python -m Abe.abe --config my-abe.conf --rescan


1481347262
Hero Member
*
Offline Offline

Posts: 1481347262

View Profile Personal Message (Offline)

Ignore
1481347262
Reply with quote  #2

1481347262
Report to moderator
1481347262
Hero Member
*
Offline Offline

Posts: 1481347262

View Profile Personal Message (Offline)

Ignore
1481347262
Reply with quote  #2

1481347262
Report to moderator
1481347262
Hero Member
*
Offline Offline

Posts: 1481347262

View Profile Personal Message (Offline)

Ignore
1481347262
Reply with quote  #2

1481347262
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481347262
Hero Member
*
Offline Offline

Posts: 1481347262

View Profile Personal Message (Offline)

Ignore
1481347262
Reply with quote  #2

1481347262
Report to moderator
1481347262
Hero Member
*
Offline Offline

Posts: 1481347262

View Profile Personal Message (Offline)

Ignore
1481347262
Reply with quote  #2

1481347262
Report to moderator
1481347262
Hero Member
*
Offline Offline

Posts: 1481347262

View Profile Personal Message (Offline)

Ignore
1481347262
Reply with quote  #2

1481347262
Report to moderator
bangoyot
Newbie
*
Offline Offline

Activity: 2


View Profile
August 14, 2015, 05:26:41 PM
 #1002

how to add google analytics code?
http://bitcoinvalue.io
rossen
Sr. Member
****
Offline Offline

Activity: 477

In gold I trust - Aurumcoin www.cointech.net


View Profile WWW
February 13, 2016, 03:31:37 PM
 #1003

Hi all,

How to repair the chain table? http://zetool.cointech.net/chains now Aurumcoin has missing columns, Some times FireFlycoin is crashed... --rescan can not help.

Best Regards,
Rossen

Edit: http://mobiblocks.cointech.net has the same problem with other coins

If you want a mining pool, addnode or blockexplorer - PM me https://cointech.net/block-explorers. Free BTC every 10 minutes https://satoshinow.com/?ref=163215
http://webchat.freenode.net/?channels=%23aurumcoin&uio=d4
rik8119
Full Member
***
Offline Offline

Activity: 192

CEO WINC e. V.


View Profile
February 25, 2016, 08:36:24 AM
 #1004

Hi Everybody,

i tried to fit the Abe for Worldleadcurrency which is a merge mining clone of Freicoin. Freicoin has the additional int32_t variable nRefHeight (to calculate demurrage) inside transaction. So i added

Code:
  d['nRefheight'] = vps.read_int64()
(dont know if this is the correct way, but i found no better solution right now)

which changed the error:

Code:
block_tx 25 25
Skipped 4 bytes at block end
Exception at 72056511857166274
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 100000, 'chain_id': 18, 'loader': None, 'conf': None, 'dirname': u'/root/.worldleadcurrency', 'id': 39L}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2536, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2837, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 2959, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "Abe/Chain/__init__.py", line 82, in ds_parse_block
    d['transactions'].append(chain.ds_parse_transaction(ds))
  File "Abe/Chain/__init__.py", line 75, in ds_parse_transaction
    return deserialize.parse_Transaction(ds)
  File "Abe/deserialize.py", line 91, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('<I')
  File "Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

to

Code:
block_tx 26 26
Skipped 1283 bytes at block end
Exception at 580166053
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 100000, 'chain_id': 18, 'loader': None, 'conf': None, 'dirname': u'/root/.worldleadcurrency', 'id': 40L}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2536, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2837, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 2959, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "Abe/Chain/__init__.py", line 82, in ds_parse_block
    d['transactions'].append(chain.ds_parse_transaction(ds))
  File "Abe/Chain/__init__.py", line 75, in ds_parse_transaction
    return deserialize.parse_Transaction(ds)
  File "Abe/deserialize.py", line 91, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('<I')
  File "Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

Do i just have to adjust the reading of nRefHeight or is there something else to consider?

Thanks in advance Rik

Demurrage - the easiest way to a human society.
rossen
Sr. Member
****
Offline Offline

Activity: 477

In gold I trust - Aurumcoin www.cointech.net


View Profile WWW
February 25, 2016, 11:04:55 AM
 #1005

Hi Everybody,

i tried to fit the Abe for Worldleadcurrency which is a merge mining clone of Freicoin. Freicoin has the additional int32_t variable nRefHeight (to calculate demurrage) inside transaction. So i added

Code:
  d['nRefheight'] = vps.read_int64()
(dont know if this is the correct way, but i found no better solution right now)

which changed the error:

Code:
block_tx 25 25
Skipped 4 bytes at block end
Exception at 72056511857166274
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 100000, 'chain_id': 18, 'loader': None, 'conf': None, 'dirname': u'/root/.worldleadcurrency', 'id': 39L}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2536, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2837, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 2959, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "Abe/Chain/__init__.py", line 82, in ds_parse_block
    d['transactions'].append(chain.ds_parse_transaction(ds))
  File "Abe/Chain/__init__.py", line 75, in ds_parse_transaction
    return deserialize.parse_Transaction(ds)
  File "Abe/deserialize.py", line 91, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('<I')
  File "Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

to

Code:
block_tx 26 26
Skipped 1283 bytes at block end
Exception at 580166053
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 100000, 'chain_id': 18, 'loader': None, 'conf': None, 'dirname': u'/root/.worldleadcurrency', 'id': 40L}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2536, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2837, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 2959, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "Abe/Chain/__init__.py", line 82, in ds_parse_block
    d['transactions'].append(chain.ds_parse_transaction(ds))
  File "Abe/Chain/__init__.py", line 75, in ds_parse_transaction
    return deserialize.parse_Transaction(ds)
  File "Abe/deserialize.py", line 91, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('<I')
  File "Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

Do i just have to adjust the reading of nRefHeight or is there something else to consider?

Thanks in advance Rik

When I see similar errors just re-run the Abe then move some blocks before exit again.... I do not why, I am not familiar with python.

If you want a mining pool, addnode or blockexplorer - PM me https://cointech.net/block-explorers. Free BTC every 10 minutes https://satoshinow.com/?ref=163215
http://webchat.freenode.net/?channels=%23aurumcoin&uio=d4
rik8119
Full Member
***
Offline Offline

Activity: 192

CEO WINC e. V.


View Profile
February 25, 2016, 12:32:48 PM
 #1006

When I see similar errors just re-run the Abe then move some blocks before exit again.... I do not why, I am not familiar with python.

Hi Thank you for your answer the problem is its the genesisblock ;-) that is not deserialized correctly.
 
What you describe sounds to me like memory problem, however.. ;-)

Demurrage - the easiest way to a human society.
rik8119
Full Member
***
Offline Offline

Activity: 192

CEO WINC e. V.


View Profile
March 07, 2016, 08:51:53 PM
 #1007

Hey thanks again i did put it in the wrong line have to add it in line 96

main.h (additional nRefHeight):
Code:
class CTransaction
{
public:
    static mpq nMinTxFee;
    static mpq nMinRelayTxFee;
    static const int CURRENT_VERSION=2;
    int nVersion;
    std::vector<CTxIn> vin;
    std::vector<CTxOut> vout;
    unsigned int nLockTime;
    int32_t nRefHeight;

added nRefHeight in deserialize.py:
Code:
def parse_Transaction(vds, has_nTime=False):
  d = {}
  start_pos = vds.read_cursor
  d['version'] = vds.read_int32()
  if has_nTime:
    d['nTime'] = vds.read_uint32()
  n_vin = vds.read_compact_size()
  d['txIn'] = []
  for i in xrange(n_vin):
    d['txIn'].append(parse_TxIn(vds))
  n_vout = vds.read_compact_size()
  d['txOut'] = []
  for i in xrange(n_vout):
    d['txOut'].append(parse_TxOut(vds))
  d['lockTime'] = vds.read_uint32()
  d['nRefHeight'] = vds.read_int32() # Added nRefHeight
  d['__data__'] = vds.input[start_pos:vds.read_cursor]
  return d

But now it stops at block 12352:

Code:
block 12352 already in chain 18
commit
Exception at 10500443171604481732
Failed to catch up {'blkfile_offset': 12849643, 'blkfile_number': 100000, 'chain_id': 18, 'loader': None, 'conf': None, 'dirname': '/root/.worldleadcurrency', 'id': Decimal('45')}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2536, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2837, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 2959, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "Abe/Chain/__init__.py", line 82, in ds_parse_block
    d['transactions'].append(chain.ds_parse_transaction(ds))
  File "Abe/Chain/__init__.py", line 75, in ds_parse_transaction
    return deserialize.parse_Transaction(ds)
  File "Abe/deserialize.py", line 90, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('<I')
  File "Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
OverflowError: Python int too large to convert to C long

i used the --rescan option, but it dont continue.. I write again, when i find something new.

rossen - how do you "move some blocks before exit again...."? Thanks ;-)

Rik

Demurrage - the easiest way to a human society.
rossen
Sr. Member
****
Offline Offline

Activity: 477

In gold I trust - Aurumcoin www.cointech.net


View Profile WWW
March 07, 2016, 09:14:56 PM
 #1008

I think that the problem with my restarting time2time is low memory or similar.... I just re-run the shell/bat command again and again....

If you want a mining pool, addnode or blockexplorer - PM me https://cointech.net/block-explorers. Free BTC every 10 minutes https://satoshinow.com/?ref=163215
http://webchat.freenode.net/?channels=%23aurumcoin&uio=d4
rik8119
Full Member
***
Offline Offline

Activity: 192

CEO WINC e. V.


View Profile
March 12, 2016, 07:23:38 AM
 #1009

Ok, thats bad. its definitively a RAM problem.

On my desktop pc with 8gig ram it continues to read blocks even after block 12322 but i have to use a small bash because it stops after 20 blocks.

Bash:
Code:
#/bin/bash
for (( ; ; ))
do
    python -m Abe.abe --config wlc.conf --commit-bytes 2000000 --no-serve
done

Now it loads 10 tx in a row, but not more:

Code:
failed to load /home/rik/.worldleadcurrency/bitcoin.conf: [Errno 2] No such file or directory: '/home/rik/.worldleadcurrency/bitcoin.conf'
catch_up_rpc: abort
Opened /home/rik/.worldleadcurrency/blocks/blk00000.dat
block_tx 68382 68382
block_tx 68383 68383
block_tx 68384 68384
block_tx 68385 68385
block_tx 68386 68386
block_tx 68387 68387
block_tx 68388 68388
block_tx 68389 68389
block_tx 68390 68390
block_tx 68391 68391
block_tx 68392 68392
block_tx 68393 68393
block_tx 68394 68394
Exception at 2536894596
Failed to catch up {'blkfile_offset': 3298433, 'blkfile_number': 100000, 'chain_id': 18, 'loader': None, 'conf': None, 'dirname': '/home/rik/.worldleadcurrency', 'id': Decimal('1')}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2535, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2836, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 2958, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "Abe/Chain/__init__.py", line 82, in ds_parse_block
    d['transactions'].append(chain.ds_parse_transaction(ds))
  File "Abe/Chain/__init__.py", line 75, in ds_parse_transaction
    return deserialize.parse_Transaction(ds)
  File "Abe/deserialize.py", line 90, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('<I')
  File "Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

So i do not know what to do but to strip the db and copy it to my server what is a really dirty solution and not guaranteed to work..If anybody has a better idea i would be very interested.

Many Greetings and thanks Rik

Demurrage - the easiest way to a human society.
rossen
Sr. Member
****
Offline Offline

Activity: 477

In gold I trust - Aurumcoin www.cointech.net


View Profile WWW
March 12, 2016, 08:32:12 PM
 #1010

Ok, thats bad. its definitively a RAM problem.

On my desktop pc with 8gig ram it continues to read blocks even after block 12322 but i have to use a small bash because it stops after 20 blocks.

Bash:
Code:
#/bin/bash
for (( ; ; ))
do
    python -m Abe.abe --config wlc.conf --commit-bytes 2000000 --no-serve
done

Now it loads 10 tx in a row, but not more:

Code:
failed to load /home/rik/.worldleadcurrency/bitcoin.conf: [Errno 2] No such file or directory: '/home/rik/.worldleadcurrency/bitcoin.conf'
catch_up_rpc: abort
Opened /home/rik/.worldleadcurrency/blocks/blk00000.dat
block_tx 68382 68382
block_tx 68383 68383
block_tx 68384 68384
block_tx 68385 68385
block_tx 68386 68386
block_tx 68387 68387
block_tx 68388 68388
block_tx 68389 68389
block_tx 68390 68390
block_tx 68391 68391
block_tx 68392 68392
block_tx 68393 68393
block_tx 68394 68394
Exception at 2536894596
Failed to catch up {'blkfile_offset': 3298433, 'blkfile_number': 100000, 'chain_id': 18, 'loader': None, 'conf': None, 'dirname': '/home/rik/.worldleadcurrency', 'id': Decimal('1')}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2535, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2836, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 2958, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "Abe/Chain/__init__.py", line 82, in ds_parse_block
    d['transactions'].append(chain.ds_parse_transaction(ds))
  File "Abe/Chain/__init__.py", line 75, in ds_parse_transaction
    return deserialize.parse_Transaction(ds)
  File "Abe/deserialize.py", line 90, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('<I')
  File "Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

So i do not know what to do but to strip the db and copy it to my server what is a really dirty solution and not guaranteed to work..If anybody has a better idea i would be very interested.

Many Greetings and thanks Rik

Try to decrease this value: --commit-bytes 2000000  its looks so much.

If you want a mining pool, addnode or blockexplorer - PM me https://cointech.net/block-explorers. Free BTC every 10 minutes https://satoshinow.com/?ref=163215
http://webchat.freenode.net/?channels=%23aurumcoin&uio=d4
dnp
Member
**
Offline Offline

Activity: 82


View Profile
April 17, 2016, 06:52:37 PM
 #1011

i'm trying to get bitcoin-abe 0.8pre to work with MetalMusicCoin3 (a pos/pow coin.)
i tried the following configuration but get an abort. does this version of abe handle
more recent PoS coins?

Code:
datadir = [{
        "dirname" : "/home/ndl/.noodlyappendagecoin",
        "chain" : "NoodlyAppendageCoin",
        "conf" : "noodlyappendagecoin.conf",
        "loader" : "blkfile",
        "policy" : "Sha256Chain",       # not coins algorithm, but chain format used
        "code3" : "NDL",
        "address_version" : "u0305",            # hex value of base58.h PUBKEY_ADDRESS
        "magic" : "u0f0bu0c00u0b06u0d0b"        # main.cpp uchar pchMessageStart[4]
        }]
datadir += [{
        "dirname" : "/home/metalcoin/.MetalMusicCoin3",
        "chain" : "MetalMusicCoin3",
        "conf" : "MetalMusicCoin3.conf",
        "loader" : "blkfile",
        "policy" : "PpcPosChain",
        "code3" : "MTLMC",
        "address_version" : "u0303",
        "magic" : "u0c0eu0f0bu0f0au0d0b"        # {0xce, 0xfb, 0xfa, 0xdb}
        }]


ndl@carpdiem:~$ ./runabe.sh --init
Opened /home/ndl/.noodlyappendagecoin/blocks/blk00001.dat
block_tx 551775 646045
block_tx 551776 646046
commit
Opened /home/metalcoin/.MetalMusicCoin3/blk0001.dat
Exception at 72056513165787274
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': 2, 'loader': u'blkfile', 'conf': u'MetalMusicCoin3.conf', 'dirname': u'/home/metalcoin/.MetalMusicCoin3', 'id': 14L}
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/Abe/DataStore.py", line 2529, in catch_up
    store.catch_up_dir(dircfg)
  File "/usr/lib64/python2.7/site-packages/Abe/DataStore.py", line 2836, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "/usr/lib64/python2.7/site-packages/Abe/DataStore.py", line 2958, in import_blkdat
    b = chain.ds_parse_block(ds)
  File "/usr/lib64/python2.7/site-packages/Abe/Chain/__init__.py", line 82, in ds_parse_block
    d['transactions'].append(chain.ds_parse_transaction(ds))
  File "/usr/lib64/python2.7/site-packages/Abe/Chain/__init__.py", line 75, in ds_parse_transaction
    return deserialize.parse_Transaction(ds)
  File "/usr/lib64/python2.7/site-packages/Abe/deserialize.py", line 90, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "/usr/lib64/python2.7/site-packages/Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "/usr/lib64/python2.7/site-packages/Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('<I')
  File "/usr/lib64/python2.7/site-packages/Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

rik8119
Full Member
***
Offline Offline

Activity: 192

CEO WINC e. V.


View Profile
April 20, 2016, 07:29:46 PM
 #1012

Can you please also post your MetalMusicCoin3.py also. Thanks.

Demurrage - the easiest way to a human society.
dnp
Member
**
Offline Offline

Activity: 82


View Profile
April 26, 2016, 10:21:05 PM
 #1013

Can you please also post your MetalMusicCoin3.py also. Thanks.

i'm using the PpcPosChain policy, the .py file is as follows
Code:
# Copyright(C) 2014 by Abe developers.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with this program.  If not, see
# <http://www.gnu.org/licenses/agpl.html>.

from . import BaseChain
from .. import deserialize

class PpcPosChain(BaseChain):
    """
    A blockchain with proof-of-stake as in Peercoin.
    """
    def ds_parse_transaction(chain, ds):
        return deserialize.parse_Transaction(ds, has_nTime=True)

    def ds_parse_block(chain, ds):
        d = BaseChain.ds_parse_block(chain, ds)
        d['block_sig'] = ds.read_bytes(ds.read_compact_size())
        return d

and this is what the .MetalMusicCoin3 directory structure looks like:
Code:
.
./database
./database/log.0000000138
./database/log.0000000140
./database/log.0000000143
./database/log.0000000141
./database/log.0000000144
./database/log.0000000145
./database/log.0000000139
./database/log.0000000142
./MetalMusicCoin3.conf
./blk0001.dat
./peers.dat
./.lock
./wallet.dat
./MetalMusicCoin3d.pid
./blkindex.dat
./db.log
./debug.log
rossen
Sr. Member
****
Offline Offline

Activity: 477

In gold I trust - Aurumcoin www.cointech.net


View Profile WWW
April 27, 2016, 04:02:42 AM
 #1014

Try to re-run the coin daemon with -reindex -indexes
I have similar problem yesterday with two daemons and both fix it

If you want a mining pool, addnode or blockexplorer - PM me https://cointech.net/block-explorers. Free BTC every 10 minutes https://satoshinow.com/?ref=163215
http://webchat.freenode.net/?channels=%23aurumcoin&uio=d4
dnp
Member
**
Offline Offline

Activity: 82


View Profile
May 09, 2016, 01:10:41 AM
 #1015

Try to re-run the coin daemon with -reindex -indexes
I have similar problem yesterday with two daemons and both fix it

alas, it made no difference
rossen
Sr. Member
****
Offline Offline

Activity: 477

In gold I trust - Aurumcoin www.cointech.net


View Profile WWW
July 28, 2016, 07:15:34 AM
 #1016

Hello all,

can anybody share SQL query for generate richlist?

If you want a mining pool, addnode or blockexplorer - PM me https://cointech.net/block-explorers. Free BTC every 10 minutes https://satoshinow.com/?ref=163215
http://webchat.freenode.net/?channels=%23aurumcoin&uio=d4
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 [51]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!