Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: BayAreaCoins on August 29, 2024, 07:35:47 PM



Title: [For Anyone] BAC's Bitcoin Testnet Faucet (v3.0) [>10 TBTC]
Post by: BayAreaCoins on August 29, 2024, 07:35:47 PM
Please provide the amount of Bitcoin Testnet you would like, the reason, and your Bitcoin Testnet wallet.

Feel free to return the Bitcoin Testnet to: tb1qcn9xm9lypumd8pa0qfg37zmg4jrmkwzlvww47d

I currently only have v3.0, but I will have v4.0 when and if it is launched with Bitcoin Core.


Title: Re: [For Anyone] BAC's Bitcoin Testnet Faucet [>10 TBTC]
Post by: ercewubam on August 30, 2024, 05:55:56 AM
Is it testnet4 or testnet3?


Title: Re: [For Anyone] BAC's Bitcoin Testnet Faucet [>10 TBTC]
Post by: BayAreaCoins on August 30, 2024, 05:56:56 AM
Is it testnet4 or testnet3?

I only have v3.0 atm.

I'm not touching 4.0 until she's in Core.


Title: Re: [For Anyone] BAC's Bitcoin Testnet Faucet [>10 TBTC]
Post by: ercewubam on August 30, 2024, 06:14:11 AM
Quote
I'm not touching 4.0 until she's in Core.
Release candidate for v28.0 already contains testnet4: https://groups.google.com/g/bitcoindev/c/EmAOO-Nbmzw

Quote
Feel free to return the Bitcoin Testnet to: tb1qcn9xm9lypumd8pa0qfg37zmg4jrmkwzlvww47d
Let's see, if you can handle coinbase transaction (https://mempool.space/testnet/tx/c85ecb7f224a492fe8b3a47d5299023f57c5355022db77fce7d2cdf217de6215) properly. Because if someone will send it into your exchange in this way, then it is not counted.


Title: Re: [For Anyone] BAC's Bitcoin Testnet Faucet [>10 TBTC]
Post by: BayAreaCoins on August 30, 2024, 06:49:54 AM
Quote
I'm not touching 4.0 until she's in Core.
Release candidate for v28.0 already contains testnet4: https://groups.google.com/g/bitcoindev/c/EmAOO-Nbmzw

I'll wait it out.

Did the v4.0 testnet get hit by a similar Lopp attack just a few days ago?

Quote
Feel free to return the Bitcoin Testnet to: tb1qcn9xm9lypumd8pa0qfg37zmg4jrmkwzlvww47d
Let's see, if you can handle coinbase transaction (https://mempool.space/testnet/tx/c85ecb7f224a492fe8b3a47d5299023f57c5355022db77fce7d2cdf217de6215) properly. Because if someone will send it into your exchange in this way, then it is not counted.

We apparently do not handle that right.  I'm not seeing anything exchange side for those deposits.

Good ole testnet... testing shit and creating more work.  We will get that patched first thing in the morning.


Title: Re: [For Anyone] BAC's Bitcoin Testnet Faucet [>10 TBTC]
Post by: garlonicon on August 30, 2024, 07:04:38 AM
Quote
Did the v4.0 testnet get hit by a similar Lopp attack just a few days ago?
1. No, but few days ago, there was just a regular testnet3 blockstorm. To trigger it, all that is needed, is mining every 2016th block, with the minimal difficulty. Any CPU miner can trigger that kind of attack. And if no ASIC will find a block in 20 minutes, then it will happen automatically.
2. Testnet4 is resistant to that. There is some discussion about "7200 seconds rule vs 600 seconds rule", but it is about timewarp attacks. Blockstorms are already fixed.

Quote
I'm not seeing anything exchange side for those deposits.
Of course, addresses assigned to users are different. For example: https://mempool.space/testnet/tx/69564bc22744b4cf78c348d25b23017f7e9c63ca2f01070fbc8d288402912efc

Your code can sweep it, but it is never assigned to any user's account. Which means, that miners cannot "mine on exchange's address", but they have to use their own addresses, accumulate coins, and then do a separate transaction for deposit.


Title: Re: [For Anyone] BAC's Bitcoin Testnet Faucet [>10 TBTC]
Post by: BayAreaCoins on August 30, 2024, 07:11:30 AM
Quote
I'm not seeing anything exchange side for those deposits.
Of course, addresses assigned to users are different. For example: https://mempool.space/testnet/tx/69564bc22744b4cf78c348d25b23017f7e9c63ca2f01070fbc8d288402912efc

Your code can sweep it, but it is never assigned to any user's account. Which means, that miners cannot "mine on exchange's address", but they have to use their own addresses, accumulate coins, and then do a separate transaction for deposit.

I'm not sure I understand.  I'm fairly confident I've mined to exchanges just fine in the past.  

I don't see any reason those coins straight from the Coinbase shouldn't be seen as normal.  Obviously, there is more to it than what I see.



Good news on the v4.0 fixes.


Title: Re: [For Anyone] BAC's Bitcoin Testnet Faucet (v3.0) [>10 TBTC]
Post by: pooya87 on August 30, 2024, 11:42:10 AM
I'm not sure I understand.  I'm fairly confident I've mined to exchanges just fine in the past. 

I don't see any reason those coins straight from the Coinbase shouldn't be seen as normal.  Obviously, there is more to it than what I see.
You should technically be able to use an address from your exchange account to mine into without a problem, however some exchanges don't accept it because they are too lazy to change their backend to handle the "special cases". As you may already know in PoW coins like bitcoin the coinbase output needs to mature for a certain number of blocks (100 blocks deep for bitcoin) to become spendable. Exchanges usually spend what they receive a lot sooner than that.


Title: Re: [For Anyone] BAC's Bitcoin Testnet Faucet (v3.0) [>10 TBTC]
Post by: BayAreaCoins on September 01, 2024, 02:22:38 AM
I'm not sure I understand.  I'm fairly confident I've mined to exchanges just fine in the past. 

I don't see any reason those coins straight from the Coinbase shouldn't be seen as normal.  Obviously, there is more to it than what I see.
You should technically be able to use an address from your exchange account to mine into without a problem, however some exchanges don't accept it because they are too lazy to change their backend to handle the "special cases". As you may already know in PoW coins like bitcoin the coinbase output needs to mature for a certain number of blocks (100 blocks deep for bitcoin) to become spendable. Exchanges usually spend what they receive a lot sooner than that.

We got it patched and fixed up.

People are welcome to mine to their address... go for it.

Thanks for the Coinbase tips <3.