Bitcoin Forum
August 20, 2018, 11:17:46 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 ... 69 »
  Print  
Author Topic: [ANN] StrongHands - Hybrid PoS/PoW Min Stake - 30 days  (Read 68892 times)
pineapples
Legendary
*
Offline Offline

Activity: 1190
Merit: 1000


to your stations, man the pineapples!!!


View Profile
February 09, 2017, 03:57:17 AM
 #321

changing max_money would require a fork.
no idea if dev reads this or not ... hint hint

but if you have no luck extracting keys,
a possibility would be building a client with a larger max_money,
the transaction would not be legit on the network so should never get any confirms,
but the wallet should actually start up as the error seems to do with max_money having a tanty.

and then perhaps reindexing will fix it ..



alternatively,
the client should reject attempted transactions over max_money straight away..
this would help with future transactions.



YEEE F*#KIN HA BIG RED TEXT !!!           

(\__/)    
(='.'=)   
(")_(")   










     BUMBA
1534763866
Hero Member
*
Offline Offline

Posts: 1534763866

View Profile Personal Message (Offline)

Ignore
1534763866
Reply with quote  #2

1534763866
Report to moderator
1534763866
Hero Member
*
Offline Offline

Posts: 1534763866

View Profile Personal Message (Offline)

Ignore
1534763866
Reply with quote  #2

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

Posts: 1534763866

View Profile Personal Message (Offline)

Ignore
1534763866
Reply with quote  #2

1534763866
Report to moderator
glorytime
Sr. Member
****
Offline Offline

Activity: 358
Merit: 250



View Profile
February 09, 2017, 06:27:22 PM
 #322

changing max_money would require a fork.
no idea if dev reads this or not ... hint hint

but if you have no luck extracting keys,
a possibility would be building a client with a larger max_money,
the transaction would not be legit on the network so should never get any confirms,
but the wallet should actually start up as the error seems to do with max_money having a tanty.

and then perhaps reindexing will fix it ..



alternatively,
the client should reject attempted transactions over max_money straight away..
this would help with future transactions.

I had no luck yet. I'll take you up on your offer because it's clear you are far more experienced with this than me. I'll send you the wallet.dat and we split the coins 50/50. How does that sound?

There are about 18 Billion SHND in there.  Grin



bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 13, 2017, 02:56:03 AM
 #323

i am helping with glorytimes wallet issue,

here is a run down of the issue.

all transactions are checked against the variable MAX_MONEY (2billion coins) to ascertain they do not exceed it.
official code will allow transactions to enter the wallet.dat that further error checks will reject, effectively breaking the wallet.dat

if you have two inputs in your wallet of 1.1 billion coins, you send 1.2 billion,

the transaction value is 1.2 billion which is < 2 billion, which passes the first round error check and gets entered into the wallet.dat

soon enough another round of checks looks at all inputs and outputs.
1.1 input + 1.1 input = 1.2 tx output + 1.0 change output + fee = 2.2 billion which is not < 2 billion
so the next error check fails.

and yr wallet is now geborken !!

--

fixes so far do not require any fork, and are compatible with official qt's,
it is only that the official qt's allow you to break your wallet ( as happened with glorytime ).

--

if you have geborken your wallet,
i have compiled a special increased max_money qt, that should enable you to load your wallet, and export your privkeys to import into a clean wallet.
PM me Smiley


--
this code bug exists in the Peerunity code base, however it is highly unlikely to ever be an issue for PPC.
to be an issue

some wallet must have a balance > max_money

Stronghands currently has around 90billion coin supply, which is 45x the value of MAX_MONEY ( 2 billion)

there are other coins out there that might have the conditions necessary !! be alert !!

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 13, 2017, 01:32:34 PM
 #324

i have a quickfix for the problem
https://github.com/bumbacoin/stronghands/commit/8bc58843f43012e142beff29a8fcbb7a37c8ed5b

encouraging clients to reject transactions at 1999999999 coins.

will build clients tomorrow.


..
there is some issue with the way the code handles values,

previously a transaction would pass through the credit check (creating the tx),
enter into the wallet db,
but then fail on the debit check (loading the tx) causing the wallet to refuse to load and quit

..
with this "fix"
    if (dAmount <= 0.0 || dAmount > ((MAX_MONEY / COIN) -1))

it appears that it should reject values of >1999999999
but it still accepts transactions of 1999999999.00000011

so not really sure where the discrepancy in handling is.

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 13, 2017, 01:49:59 PM
 #325

if anyone has any suggestions as to why the code treats the  pre /post error checks differently please add your voice Smiley

you can see below,
that as long as txout.nValue and nDebit are the same everything should be fine,
however, the problem with current code is that it seems to fails on the Debit check.
(which is after the tx is added to the wallet, so the wallet then fails to load.)


https://github.com/bumbacoin/stronghands/blob/master/src/wallet.h#L182
Code:
    int64 GetCredit(const CTxOut& txout) const
    {
        if (!MoneyRange(txout.nValue))
            throw std::runtime_error("CWallet::GetCredit() : value out of range");
        return (IsMine(txout) ? txout.nValue : 0);
    }

https://github.com/bumbacoin/stronghands/blob/master/src/wallet.h#L209
Code:
    int64 GetDebit(const CTransaction& tx) const
    {
        int64 nDebit = 0;
        BOOST_FOREACH(const CTxIn& txin, tx.vin)
        {
            nDebit += GetDebit(txin);
            if (!MoneyRange(nDebit))
                throw std::runtime_error("CWallet::GetDebit() : value out of range");
        }
        return nDebit;



here's an example of failing transaction,
this is after some fucking around, so pure value MAX_MONEY as tx limit is not being used,
ie not 2billion coins being sent, from memory i have no idea what was being used at the time . lol but it is true to the behaviour of sending over 2billion

Code:
sendtoaddress Sh1A3HKCmWHXiwLAEPUDhAH2JhCwxQHbqA 1999999999.999999
error: {"code":-4,"message":"Error: The transaction was rejected.  This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here."}

from debug.log
Code:
CommitTransaction:
CTransaction(hash=1296fcf30a, nTime=1486976866, ver=1, vin.size=2, vout.size=2, nLockTime=0)
    CTxIn(COutPoint(ae178efe20, 0), scriptSig=3046022100d9b652c2500088)
    CTxIn(COutPoint(b47018e531, 1), scriptSig=30460221008bebbd1a7d525a)
    CTxOut(nValue=0.870001, scriptPubKey=OP_DUP OP_HASH160 6d24e85c6fda83f7454e20f4796abf16848a0d5b OP_EQUALVERIFY OP_CHECKSIG)
    CTxOut(nValue=1999999999.999999, scriptPubKey=OP_DUP OP_HASH160 d832f6a6d6b39a2631c26fe42c8f049795840fdc OP_EQUALVERIFY OP_CHECKSIG)
keypool keep 9
AddToWallet 1296fcf30a  new
WalletUpdateSpent found spent coin 1999999999.98ppc ae178efe20c6fcdaac9197087b5ef5378392f6fde0a01871c9538d06e61c0041
WalletUpdateSpent found spent coin 1999999999.97ppc b47018e53178a5e80a78dcc60f40d2058953a5d873ec6f22c451b0d59b571fce
ERROR: CTransaction::CheckTransaction() : txout total out of range
ERROR: CTxMemPool::accept() : CheckTransaction failed
CommitTransaction() : Error: Transaction not valid

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 14, 2017, 07:33:04 AM
 #326

okay,
well this error exists in current Peerunity code
https://github.com/Peerunity/Peerunity/issues/199

so i'm guessing all the PPC clones have it ??
obviously only a problem in a coin with so much cash that any pleb can have more than MAX_MONEY.


💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 14, 2017, 09:09:34 AM
 #327

Sadly first quick fix (v0130) didnt work for all occasions.
See below for second fix Smiley v0140



https://github.com/bumbacoin/stronghands/releases/tag/v0140


..

For anyone with a broken wallet

i have compiled a SPECIAL QT with increased Max Money !!!!
this should enable you to open your wallet and extract the privkeys,
then you can import them into a new wallet

please PM me and i'll send you a copy.
it's not for general use.

this is the expected error for such a borken wallet
Code:
EXCEPTION: St13runtime_error      
CWallet::GetDebit() : value out of range      
ppcoin in ThreadStakeMinter()      

terminate called after throwing an instance of 'std::runtime_error'
  what():  CWallet::GetDebit() : value out of range

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
glorytime
Sr. Member
****
Offline Offline

Activity: 358
Merit: 250



View Profile
February 14, 2017, 02:30:40 PM
 #328

A big thank you to bumbacoin/pineapples, he fixed the SHND wallet issue I experienced and was able to retrieve my coins.

Just letting everyone know in case you ran into a similar issue, his solution works.





Here's a new Win wallet with the MAX_MONEY quickfix.

https://github.com/bumbacoin/stronghands/releases/tag/0130

basically it will only allow you to send a maximum amount of 1999999999 coins.
preventing the broken wallets that have been happening.

it is not a mandatory upgrade, it is only to prevent a possible breakage of yr wallet.

..

For anyone with a broken wallet

i have compiled a SPECIAL QT with increased Max Money !!!!
this should enable you to open your wallet and extract the privkeys,
then you can import them into a new wallet

please PM me and i'll send you a copy.
it's not for general use.

this is the expected error for such a borken wallet
Code:
EXCEPTION: St13runtime_error      
CWallet::GetDebit() : value out of range      
ppcoin in ThreadStakeMinter()      

terminate called after throwing an instance of 'std::runtime_error'
  what():  CWallet::GetDebit() : value out of range
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 16, 2017, 02:48:57 AM
 #329


oops, further testing means the quickfix isnt as useful as i first thought.

the problem lies where the combine transaction inputs exceed 2 billion.

so if you have two inputs of 1.2 billion, and you send even 1.3 billion coins,
then because the outputs of 1.3 + 1.1 (change) = 2.4 billion > MAX_MONEY
then the wallet will break.

am still working on it,
i hope to allow sending amounts of 2 billion.

but the obvious next step quick fix is to reduce possible sending to 999,999,999

so please, for now with any current available client, do not send 1 billion or over Smiley

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 16, 2017, 06:15:20 AM
 #330

Introducing 2nd generation fix !!!

Reducing possible spend amount to 1 billion coins,
https://github.com/bumbacoin/stronghands/releases/tag/v0140




..

will test further and see about increasing maximum spend value.
but for now, the new version will limit spend to 1,000,000,000

this is due to a bug where the combined inputs of a transaction may exceed MAX_MONEY and break wallet.
https://bitcointalk.org/index.php?topic=1790622

the logic of reducing max spend to 1 billion is that two inputs of over 1 billion may combine to exceed 2 billion.

eg. two inputs of 1.1 billion,
sending 1.2 billion will combine those two inputs to a value of 2.2 billion which is > MAX_MONEY



For anyone with a broken wallet

it is the wallet.dat that is borken.
there is a tx in the wallet.dat that is being rejected by the code.
if you have a backup you should be able to just use the backup (will not have borked tx) and all will be fine.

alternatively,
i have compiled a SPECIAL QT with increased Max Money !!!!
this should enable you to open your wallet and extract the privkeys,
then you can import them into a new wallet

please PM me and i'll send you a copy.
it's not for general use.

this is the expected error for such a borken wallet
Code:
EXCEPTION: St13runtime_error      
CWallet::GetDebit() : value out of range      
ppcoin in ThreadStakeMinter()      

terminate called after throwing an instance of 'std::runtime_error'
  what():  CWallet::GetDebit() : value out of range

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 17, 2017, 03:21:39 AM
 #331


just discovered SHND is on novaexchange, have let them know what's going on.
https://novaexchange.com/market/DOGE_SHND/ and other pairings…

are we listed anywhere else ??

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
BitcoinNational
Legendary
*
Offline Offline

Activity: 1470
Merit: 1008


Join The Blockchain Revolution In Logistics


View Profile
February 18, 2017, 01:30:33 PM
 #332

bumba much respect!

                ▄██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
           ▄████▄▄▄▄▄██████████████▄
         ▄████████████████▄▄▄███████
       ▄█████████████████████████████
     ▄████████▀▀▀▀▀▀▀███████████████▄
   ▄████████▀█▀███▀        ███████████
 ▄████████▀███             ███████████
▄███████▀████                ██████████▄
███████████▀                  ██████████
 ██████▄████                   ██████▄███
  ██████▄████                 ▄█████████
   ██████▄████              ▄██████████
    ██████▄█████▄▄▄▄▄     ▄████████▀
     ██████▄████████████▄████████▀█▀██▀
      ██████████▄▄▄▄▄▄▄████████▀█▀██▀
       ██████████████████████▀█▀█▀
         ▀▀▀▀▀▀███████████▀▀▀▀
                      ▀██▀▀
─────────────────
Revolutionized.  ──


█████████████████████████
██ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ██
██ █████████████▀█████ ██
██ ███ ▀█████▀      ▀█ ██
██ ███     ▀▀      ▐██ ██
██ ███▌            ███ ██
██ ████▌          ▄███ ██
██ ██████       ▄█████ ██
██ ████▄▄▄▄▄▄▄████████ ██
██ ███████████████████ ██
██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀





█████████████████████████
██ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ██
██ ████████████▀▀▀████ ██
██ ████████▀▀     ████ ██
██ █████▀    ▄▀  ▐████ ██
██ ██▀     ▄▀    ▐████ ██
██ ████▄▄ █▀     █████ ██
██ ██████ ▄▄█   ▐█████ ██
██ ████████████ ██████ ██
██ ███████████████████ ██
██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.WHITEPAPER.
ANN Thread
Reddit

█████
██
██ █
██ █
██ █
   █

  ─────────────  Join
SMARC token ICO

█████
   ██
 █ ██
 █ ██
 █ ██
 █
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 18, 2017, 05:44:41 PM
 #333

minor update v 0141

https://drive.google.com/open?id=0B5j8d4FSc7drSEw5X3g4RXh4Snc


this will now account for fees in calculating final send value.
if you manually set fees > 1, you can still break the previous version wallet v0140. lol

this update is not a necessary update from v0140, it's highly unlikely you'll ever need to manually adjust fees.
but is advisable if you are running v012x and have a balance larger than 2 billion.

-
for brief history of issue being resolved.
https://bitcointalk.org/index.php?topic=1195510.msg17832071#msg17832071

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bitmaster1x
Legendary
*
Offline Offline

Activity: 952
Merit: 1000


CRYPTO-CITY.COM 🌟 You're the future!


View Profile WWW
February 23, 2017, 09:07:58 AM
 #334

Notify Cryptopia so they can re-open the market.

bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 24, 2017, 12:10:30 AM
 #335


cryptopia have been notified and have apparently updated,
market is still closed ..

i asked again about market re-opening and just got the reply
"Hi bumbacoin,  SHND has now been updated.    Thanks Cryptopia Support"

lol,

perhaps if others were to ask as well Smiley

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
February 28, 2017, 07:03:02 AM
 #336

and now market is re-opened on cryptopia !!

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bumbacoin
Legendary
*
Offline Offline

Activity: 1358
Merit: 1006



View Profile
March 03, 2017, 02:04:12 AM
 #337


i'm auctioning off 1,000,000,000 coins

reserve starts at 10k bumba, seems a steal Smiley


https://www.cryptopia.co.nz/MarketPlaceAction/MarketItem?marketItemId=3922

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
coinhugger
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500



View Profile
March 03, 2017, 02:38:29 AM
 #338

and now market is re-opened on cryptopia !!

Wow, looks like you saved SHND from a certain death!

Well done. I might just get back into the SHND game again  Grin
cryptonoob312
Sr. Member
****
Offline Offline

Activity: 518
Merit: 250


View Profile
March 03, 2017, 02:45:15 AM
 #339

wow had a bunch of flashbacks seeing cryptsy in the ANN title. lol
coinhugger
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500



View Profile
March 03, 2017, 08:43:09 PM
 #340

wow had a bunch of flashbacks seeing cryptsy in the ANN title. lol

I wonder if the owner of this thread is still around to change the ANN title from Cryptsy to Cryptopia!

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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 ... 69 »
  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!