Search content
Sort by

Showing 12 of 12 results by vanshtah
Post
Topic
Board Currency exchange
Topic OP
Is https://crexbtc.com, exchange legit
by
vanshtah
on 31/10/2020, 08:32:49 UTC
Hello all,

I have completed a secured deal in https://crexbtc.com
now when I try to withdraw they ask to verify the account by depositing 0.1 BTC in the account from an external address
I want to know is this a legit website or not?

Can anyone help
Post
Topic
Board Development & Technical Discussion
Re: How to add premine in the bitcoin source
by
vanshtah
on 04/02/2020, 04:08:59 UTC
Hmm no confirmations, maybe because of the current value of MAX_MONEY (master/src/amount.h) which is equal to the maximum "mineable" coins.
The premine output exceeded the MAX_MONEY which makes those coinbase transactions with 1Billion BTC output invalid.

Updated that too

Code:
static const CAmount MAX_MONEY = 10000000000 * COIN;

Block 4 details

Code:
{
    "hash": "e8f6528f802bc3ada6d258983b6a573a2fe3534231d01c56defaac7040c0e926",
    "confirmations": 1478,
    "strippedsize": 216,
    "size": 216,
    "weight": 864,
    "height": 4,
    "version": 536870912,
    "versionHex": "20000000",
    "merkleroot": "c888967eedfb202a3f7f075c0a5602006dde4e153c40dea8742afccbb2ab4a70",
    "tx": "See 'Transaction IDs'",
    "time": 1580260378,
    "mediantime": 1580259876,
    "nonce": 55920,
    "bits": "1e0ffff0",
    "difficulty": 0.000244140625,
    "chainwork": "0000000000000000000000000000000000000000000000000000000000500050",
    "previousblockhash": "409c8ef479727dd5e183855ae7820042bfe7133b06e57f8810f4b6898a4a2711",
    "nextblockhash": "c8d0f2f55e7aaf21e8637d420556bb932281151d6f39741d6c499310f8185261",
    "coinbaseTx": {
        "txid": "c888967eedfb202a3f7f075c0a5602006dde4e153c40dea8742afccbb2ab4a70",
        "hash": "c888967eedfb202a3f7f075c0a5602006dde4e153c40dea8742afccbb2ab4a70",
        "version": 2,
        "size": 135,
        "vsize": 135,
        "locktime": 0,
        "vin": [
            {
                "coinbase": "540107",
                "sequence": 4294967295
            }
        ],
        "vout": [
            {
                "value": "1000000000.00000000",
                "n": 0,
                "scriptPubKey": {
                    "asm": "OP_DUP OP_HASH160 72563c4d79d5f410805691e233e5d4083f33a8cf OP_EQUALVERIFY OP_CHECKSIG",
                    "hex": "76a91472563c4d79d5f410805691e233e5d4083f33a8cf88ac",
                    "reqSigs": 1,
                    "type": "pubkeyhash",
                    "addresses": [
                        "ASCRz7q4RzWNjyZfD4Rrg214Y3CU57pa9v"
                    ]
                }
            },
            {
                "value": 0,
                "n": 1,
                "scriptPubKey": {
                    "asm": "OP_RETURN aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9",
                    "hex": "6a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9",
                    "type": "nulldata"
                }
            }
        ],
        "hex": "02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff03540107ffffffff0200008a5d784563011976a91472563c4d79d5f410805691e233e5d4083f33a8cf88ac0000000000000000266a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf900000000",
        "blockhash": "e8f6528f802bc3ada6d258983b6a573a2fe3534231d01c56defaac7040c0e926",
        "confirmations": 1478,
        "time": 1580260378,
        "blocktime": 1580260378
    },
    "totalFees": "999999950",
    "miner": null
}
Post
Topic
Board Development & Technical Discussion
Re: How to add premine in the bitcoin source
by
vanshtah
on 04/02/2020, 03:39:01 UTC
-snip-
I start the mining I got the coins but I cannot spend it, do anyone has a solution to it
It needs to have at least 100 confirmations to be spendable.
In other words, you need to mine another 100 blocks.
I have mined 1000 blocks but still cannot spend it. I enabled the advanced wallet input control feature from the QT wallet and tried selective input to do a transaction but it is unconfirmed. There are 100 new blocks mined and still going on
Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Topic OP
How to add premine in the bitcoin source
by
vanshtah
on 04/02/2020, 01:02:38 UTC
⭐ Merited by Quickseller (1)
Hello all, I am learning about bitcoin development, a created a new genesis, I compiled it and i got the windows, Linux and mac wallet running pretty well. Now I also want to add premine to the source code and with some searches in the google I found a solution to it.

In validation.cpp #L1041

Code:
CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
{
    int halvings = nHeight / consensusParams.nSubsidyHalvingInterval;
    // Force block reward to zero when right shift is undefined.
    if (halvings >= 64)
        return 0;
    CAmount nSubsidy = 50 * COIN;
    if(nHeight == 4) 
    {
        nSubsidy = 1000000000 * COIN;
        return nSubsidy;
    }
    // Subsidy is cut in half every 210,000 blocks which will occur approximately every 4 years.
    nSubsidy >>= halvings;
    return nSubsidy;
}

I start the mining I got the coins but I cannot spend it, do anyone has a solution to it
Post
Topic
Board Altcoin Discussion
Topic OP
cannot spend the premine coins
by
vanshtah
on 03/02/2020, 12:19:52 UTC
I am trying to develop a new coin, i used the litecoin source code v.015 to develop a new coin and i added the premine coin in validation.cpp

Code:
CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
{
    int halvings = nHeight / consensusParams.nSubsidyHalvingInterval;
    // Force block reward to zero when right shift is undefined.
    if (halvings >= 64)
        return 0;
    CAmount nSubsidy = 50 * COIN;
    if(nHeight == 4) 
    {
        nSubsidy = 1000000000 * COIN;
        return nSubsidy;
    }
    // Subsidy is cut in half every 210,000 blocks which will occur approximately every 4 years.
    nSubsidy >>= halvings;
   

Everything works perfectly except I cannot spend the premine, can someone help?
Post
Topic
Board Altcoin Discussion
Topic OP
Altcoin Transfer coin problem from QT wallet
by
vanshtah
on 02/02/2020, 09:45:29 UTC
I have forked litecoin 0.15 and developed a new cryptocurrency but I cannot transfer bigger amounts like 60000
Is there something wrong in the qt wallet setting or something wrong in source code?
Thanks for the help in advance
Post
Topic
Board Project Development
Re: New design for litecoin qt wallet
by
vanshtah
on 05/10/2019, 23:43:57 UTC
I need qt wallet to be redesigned
Post
Topic
Board Project Development
Topic OP
New design for litecoin qt wallet
by
vanshtah
on 05/10/2019, 20:25:43 UTC
I have cloned litecoin v0.15, but the design of the wallet is not matching with my project i need a dark theme design for it, can anyone help me in updating the design or any project from where i can clone
Post
Topic
Board Altcoin Discussion
Re: Build .exe for my new altcoin
by
vanshtah
on 16/09/2019, 11:40:54 UTC
okay i tried the steps now i am stuck here

Code:
Making all in src
make[1]: Entering directory '/usr/src/arciris/src'
make[2]: Entering directory '/usr/src/arciris/src'
make[3]: Entering directory '/usr/src/arciris'
make[3]: Leaving directory '/usr/src/arciris'
make[3]: Entering directory '/usr/src/arciris/src/secp256k1'
make[3]: Leaving directory '/usr/src/arciris/src/secp256k1'
  GEN      qt/res/bitcoin-qt-res.o
/usr/bin/x86_64-w64-mingw32-windres: ./qt/res/icons/bitcoin.ico: read of 1128 returned 1127
/usr/bin/x86_64-w64-mingw32-windres: preprocessing failed.
Makefile:9855: recipe for target 'qt/res/bitcoin-qt-res.o' failed
make[2]: *** [qt/res/bitcoin-qt-res.o] Error 1
make[2]: Leaving directory '/usr/src/arciris/src'
Makefile:9323: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/arciris/src'
Makefile:747: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
ok done it is compiled thanks for the help though
Post
Topic
Board Development & Technical Discussion
Re: Build .exe for my new altcoin
by
vanshtah
on 16/09/2019, 05:58:12 UTC
okay i tried the steps now i am stuck here

Code:
Making all in src
make[1]: Entering directory '/usr/src/arciris/src'
make[2]: Entering directory '/usr/src/arciris/src'
make[3]: Entering directory '/usr/src/arciris'
make[3]: Leaving directory '/usr/src/arciris'
make[3]: Entering directory '/usr/src/arciris/src/secp256k1'
make[3]: Leaving directory '/usr/src/arciris/src/secp256k1'
  GEN      qt/res/bitcoin-qt-res.o
/usr/bin/x86_64-w64-mingw32-windres: ./qt/res/icons/bitcoin.ico: read of 1128 returned 1127
/usr/bin/x86_64-w64-mingw32-windres: preprocessing failed.
Makefile:9855: recipe for target 'qt/res/bitcoin-qt-res.o' failed
make[2]: *** [qt/res/bitcoin-qt-res.o] Error 1
make[2]: Leaving directory '/usr/src/arciris/src'
Makefile:9323: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/arciris/src'
Makefile:747: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Post
Topic
Board Development & Technical Discussion
Re: Build .exe for my new altcoin
by
vanshtah
on 16/09/2019, 04:11:08 UTC
Have you installed Mingw-w64?


Yes i did by following command
sudo apt install g++-mingw-w64-x86-64
Post
Topic
Board Development & Technical Discussion
Topic OP
Build .exe for my new altcoin
by
vanshtah
on 16/09/2019, 03:44:21 UTC
I have forked litecoin0.15

https://github.com/vanshtah/Arc-Iris

Wallet is compling and its is working good in linux but after following all the instructions given in doc for building it for windows
i didn't get .exe file

i am building the files in ubuntu 16.04

can someone help?