Bitcoin Forum
August 15, 2022, 04:51:41 PM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Add nodes from blockchain.info to bitcoind on: February 09, 2015, 01:51:42 PM
Hello,

I've created a simple bash script for insert nodes from blockchain.info to bitcoind.

Code:
#!/bin/bash
 
# Add nodes from blockchain.info to bitcoind
# Tested on bitcoin version 0.9.1
 
#run as Bitcoin user
#su -l Bitcoin -c "/home/addnode.sh" -s /bin/sh
 
clear
 
IFS=$'\n'
nodes=`curl -s http://blockchain.info/connected-nodes | egrep -o '([[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)' | sort -u`
i=0
for node in $nodes; do
bitcoin=`bitcoind addnode $node add 2>&1`
if [ -z "$bitcoin" ]; then
((i++))
elif [ -n "`echo $bitcoin | grep -v 'error: {"code":-23,"message":"Error: Node already added"}'`" ]; then
echo "Unknown error: $bitcoin"
exit 1
fi
done
 
if [ "$i" -gt 0 ]; then
echo "Successfully added $i new nodes."
else
echo "There are no new nodes."
fi

Can be run from a cronjob (change path):
Code:
*/30 * * * * /home/addnode.sh > /dev/null

Here is source: https://gist.github.com/emsit/98f13006afa2ff69328b
2  Economy / Micro Earnings / Bitcoin, Bitcoin Cash, Groestlcoin testnet faucet (coinfaucet.eu) on: February 09, 2015, 12:51:14 PM
Hi there,

I've created a simple testnet faucet without ads, but contains a monero miner (read less...).
Faucet is programed in PHP from zero. If you find any error, please send it to me here.
I'm looking forward to the visit Roll Eyes

This faucet was launched in 2014, the first transaction took place on 2014-12-22 08:15:36.

Supported coins are Bitcoin testnet, Bitcoin Cash testnet, Groestlcoin testnet
Bitcoin testnet - https://coinfaucet.eu/btc-testnet/
Bitcoin Cash testnet - https://coinfaucet.eu/bch-testnet/
Groestlcoin testnet - https://coinfaucet.eu/grs-testnet/

Old url: https://testnet.coinfaucet.eu



Faucet supports new/segwit addresses!

Example testnet BTC:
mwZPfTMiVQEzXTEhwLmi5dcmq7EvcDqLGr
tb1q0g5y6yhk7z25n7zxl4vtcanxyp44ng74x8esta

Example testnet BCH:
mwZPfTMiVQEzXTEhwLmi5dcmq7EvcDqLGr
qz0e574avqxqe2srnqa80jxrm78qvt9jlgkt79xh6k
bchtest:qz0e574avqxqe2srnqa80jxrm78qvt9jlgkt79xh6k

Example testnet GRS:
2Mxgq2A3hWuDWC1TwLTxJRmWm5ck8Vwzbr8
tgrs1q408nujxypq6c5lt3nghvpsqvdey9utwlwpfkcd



edit:
Please do not ask me to send a coin outside the faucet!
My stocks of coins are shrinking and generation new coins is becoming more and more difficult.

If you really need a lot of testing coins, try some other solution. For example:
bitcoin-testnet-box
bitcoin-regnet


edit:
Faucet has an embedded monero miner, for its support. (Abuses 40% of the CPU, Is turned off on mobile devices and on PCs running on battery.)
Profit is used to maintain the faucet and generate new coins.
But if you use adblock, uBlock Origin, minerBlock... This miner is not active during your visit.
3  Other / Beginners & Help / Buy 100 NMC and LTC, offer price in USD. on: September 10, 2012, 10:43:16 AM
Buy 100 NMC and LTC, offer price in BTC.
4  Other / Beginners & Help / CPUminer real hash rate? on: September 09, 2012, 08:55:51 PM
Hello,
I installed CPUminer on my server(debian, Intel xeon..) I started cpuminer, and I see this hash rate:

But, on mi account on pool-x.eu I can watch just 0 or 0.440Khash/s.
Where can be problem?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!