Bitcoin Forum
November 19, 2018, 04:19:46 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Off-topic / what is best uploader? on: September 27, 2018, 07:12:45 AM
what is best uploader for exe and zip files? Smiley
2  Alternate cryptocurrencies / Service Discussion (Altcoins) / [REQ] would like to get listed in exchange on: August 09, 2018, 06:40:18 AM
we are a community coin and would like to get listed in exchanges.
let us know if you can list us in your exchange! Smiley


https://bitcointalk.org/index.php?topic=2883898.0

(please note that we are community coin, want it to list for free or accept our coin)
3  Economy / Services / [NEEDED] Article writing job on: August 07, 2018, 03:37:20 PM
We need writers that provide us unique articles related to bitcoin technology and altcoins. pm us your rate with example of work.
4  Economy / Services / [SERVICE] Coin Creation & Services 🔨 Bot & Web Development 🔥 on: August 01, 2018, 04:23:23 PM

 
We offer these services at low price:

- clone coins (scrypt, sha256, quark, x11, x16, ...) -
- change in code -
- creating hard fork -
- compiling coin -
- design icon, logo and graphical ann topic -
- setup explorer -
- setup node -
- securing server -
- design website -
- creating telegram bots -





PM:

https://bitcointalk.org/index.php?action=profile;u=1797137

telegram:

@bitserv
5  Economy / Service Announcements / [SERVICE] 🔧 Coin Creation & Services 🔥🔥🔥 on: July 17, 2018, 07:20:35 PM

 

We offer these services at low price:

- change in code -
- creating hard fork -
- compiling coin -
- setup explorer -
- setup node -
- securing server -
- design website -
- clone coins -
- creating telegram bots -






PM:

https://bitcointalk.org/index.php?action=profile;u=1797137

telegram:


@bitserv
IMPORTANT: when contact using telegram, tell us your btalk username otherwise we do not response. we may check your username by sending a PM then.


6  Economy / Services / [SERVICE] Creating Telegram Bot on: May 23, 2018, 09:18:52 AM
We can create any telegram bot you need.
hosted in your server or remotely hosted in ours.

we also clone coins and do related services.

PM us or
telegram: @bitserv
7  Bitcoin / Development & Technical Discussion / phpSeeder for bitcoin on: April 23, 2018, 04:24:47 PM
phpSeeder

This is a simple php code I developed for my coin but it works for bitcoin and all others too.
if you can not use bitcoin-seeder in your server, you can use this code that easily adds seeder to you dns zone file and manage them in your DNS server.

* read and change settings at start of code.

Code:
<?php
//  this is a seeder for your BitDaric node server.
// it will connect to node server and modify dns zone files automatically
//

// add to crontab for every 5 minutes execution:
// */5 * * * * root php /path_to_script/phpseeder.php >/dev/null 2>&1


// SETTING START HERE
$domain_zone_file '/var/lib/bind/bitdaric.com.hosts'// location of your dns zone file
$bind_daemon '/etc/init.d/bind9 restart'// bind9 restart command. need root access. set empty if do it manually

$_remove_seed_after 5// remove seed after n minutes
$_min_block_height 128000// minimum block height to add node
$_max_seeds 20;

// main DNS records
// Example:
// server1.example.com. IN A 1.2.3.4
// seed.example.com.   IN NS server1.example.com.
//$A_record_domain = 'server1.example.com.';
//$A_record_ip = '1.2.3.4';
//$NS_record_domain = 'seed.example.com.';
//$NS_record_dns = 'server1.example.com.';
$A_record_domain '';
$A_record_ip '';
$NS_record_domain '';
$NS_record_dns '';

// RPC connection info
const RPC_HOST '127.0.0.1';
const 
RPC_PORT 22500;
const 
RPC_USER 'username';
const 
RPC_PASS 'password';

// SETTING END HERE

// backup file before use! you may replace this file in case of fatal errors
if(!file_exists($domain_zone_file.'.phpseeder-backup'))
copy($domain_zone_file$domain_zone_file.'.phpseeder-backup');

$A_record_domain_e str_replace(".","\.",$A_record_domain);
$A_record_ip_e str_replace(".","\.",$A_record_ip);
$NS_record_domain_e str_replace(".","\.",$NS_record_domain);
$NS_record_dns_e str_replace(".","\.",$NS_record_dns);

$data file_get_contents($domain_zone_file);
if(
$data===false)
die('Zone file not found!');

$rpc = new BitcoinRPC_USERRPC_PASSRPC_HOSTRPC_PORT );

$getpeerinfo $rpc->getpeerinfo();

if( 
$rpc->status !== 200 && $rpc->error !== '' )
die('error: '.$rpc->error' status: '.$rpc->status);


if(
is_array($getpeerinfo)) {
foreach($getpeerinfo as $peer) {

$peerip explode(':',$peer['addr'])[0];

if(($peerip!=$A_record_ip && $peer['startingheight']>=$_min_block_height) && ($peer['banscore']==0) && ((bool)$peer['inbound']==true)) {


if(!preg_match_all("/".$A_record_domain_e."\s+IN\s+A\s+".$peerip."/i",$data)) {
$data .= "\n".$A_record_domain." IN A ".$peerip." ; phpseeder-date:".time();
}


}

}
}

if(!
preg_match_all("/".$A_record_domain_e."\s+IN\s+A\s+".$A_record_ip_e."/i",$data)) {
$data .= "\n".$A_record_domain." IN A ".$A_record_ip;
}

if(!
preg_match_all("/".$NS_record_domain_e."\s+IN\s+NS\s+".$NS_record_dns_e."/i",$data)) {
$data .= "\n".$NS_record_domain." IN NS ".$NS_record_dns;
}

if(
preg_match_all("/.*;\s+phpseeder-date:([0-9]+)/i",$data,$search_ex)) {
$counter=0;
foreach($search_ex[1] as $tt) {
$tt intval($tt);
$tt_add strtotime("+".$_remove_seed_after." minutes"$tt);
if($tt_add<=time()) {
$data str_replace($search_ex[0][$counter],'',$data);
$data str_replace("\n\n\n","\n",$data);
}
$counter++;
if($counter>$_max_seeds) break;
}
}

file_put_contents($domain_zone_file,$data.(substr($data,-1)!="\n"?"\n":""));

// try restart bind9 (need root access)
if($bind_daemon!='')
echo exec($bind_daemon);

die(
"DONE");

////////////////////////////////////////////////////////////////////////////////////////
/*
EasyBitcoin-PHP

A simple class for making calls to Bitcoin's API using PHP.
https://github.com/aceat64/EasyBitcoin-PHP
*/

class Bitcoin
{
    
// Configuration options
    
private $username;
    private 
$password;
    private 
$proto;
    private 
$host;
    private 
$port;
    private 
$url;
    private 
$CACertificate;

    
// Information and debugging
    
public $status;
    public 
$error;
    public 
$raw_response;
    public 
$response;

    private 
$id 0;

    
/**
     * @param string $username
     * @param string $password
     * @param string $host
     * @param int $port
     * @param string $proto
     * @param string $url
     */
    
public function __construct($username$password$host 'localhost'$port 8332$url null)
    {
        
$this->username      $username;
        
$this->password      $password;
        
$this->host          $host;
        
$this->port          $port;
        
$this->url           $url;

        
// Set some defaults
        
$this->proto         'http';
        
$this->CACertificate null;
    }

    
/**
     * @param string|null $certificate
     */
    
public function setSSL($certificate null)
    {
        
$this->proto         'https'// force HTTPS
        
$this->CACertificate $certificate;
    }

    public function 
__call($method$params)
    {
        
$this->status       null;
        
$this->error        null;
        
$this->raw_response null;
        
$this->response     null;

        
// If no parameters are passed, this will be an empty array
        
$params array_values($params);

        
// The ID should be unique for each call
        
$this->id++;

        
// Build the request, it's ok that params might have any empty array
        
$request json_encode(array(
            
'method' => $method,
            
'params' => $params,
            
'id'     => $this->id
        
));

        
// Build the cURL session
        
$curl    curl_init("{$this->proto}://{$this->host}:{$this->port}/{$this->url}");
        
$options = array(
            
CURLOPT_HTTPAUTH       => CURLAUTH_BASIC,
            
CURLOPT_USERPWD        => $this->username ':' $this->password,
            
CURLOPT_RETURNTRANSFER => true,
            
CURLOPT_FOLLOWLOCATION => true,
            
CURLOPT_MAXREDIRS      => 10,
            
CURLOPT_HTTPHEADER     => array('Content-type: application/json'),
            
CURLOPT_POST           => true,
            
CURLOPT_POSTFIELDS     => $request
        
);

        
// This prevents users from getting the following warning when open_basedir is set:
        // Warning: curl_setopt() [function.curl-setopt]:
        //   CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
        
if (ini_get('open_basedir')) {
            unset(
$options[CURLOPT_FOLLOWLOCATION]);
        }

        if (
$this->proto == 'https') {
            
// If the CA Certificate was specified we change CURL to look for it
            
if (!empty($this->CACertificate)) {
                
$options[CURLOPT_CAINFO] = $this->CACertificate;
                
$options[CURLOPT_CAPATH] = DIRNAME($this->CACertificate);
            } else {
                
// If not we need to assume the SSL cannot be verified
                // so we set this flag to FALSE to allow the connection
                
$options[CURLOPT_SSL_VERIFYPEER] = false;
            }
        }

        
curl_setopt_array($curl$options);

        
// Execute the request and decode to an array
        
$this->raw_response curl_exec($curl);
        
$this->response     json_decode($this->raw_responsetrue);

        
// If the status is not 200, something is wrong
        
$this->status curl_getinfo($curlCURLINFO_HTTP_CODE);

        
// If there was no error, this will be an empty string
        
$curl_error curl_error($curl);

        
curl_close($curl);

        if (!empty(
$curl_error)) {
            
$this->error $curl_error;
        }

        if (
$this->response['error']) {
            
// If bitcoind returned an error, put that in $this->error
            
$this->error $this->response['error']['message'];
        } elseif (
$this->status != 200) {
            
// If bitcoind didn't return a nice error message, we need to make our own
            
switch ($this->status) {
                case 
400:
                    
$this->error 'HTTP_BAD_REQUEST';
                    break;
                case 
401:
                    
$this->error 'HTTP_UNAUTHORIZED';
                    break;
                case 
403:
                    
$this->error 'HTTP_FORBIDDEN';
                    break;
                case 
404:
                    
$this->error 'HTTP_NOT_FOUND';
                    break;
            }
        }

        if (
$this->error) {
            return 
false;
        }

        return 
$this->response['result'];
    }
}
?>


do not forgot to add to cron job! example:
Code:
*/5 * * * * root php /path_to_script/phpseeder.php >/dev/null 2>&1
(run every 5 minutes)
 
donation BTC address:
155kmkhks1kfqKyY4cuu2S8rsWXML9wBT7
8  Alternate cryptocurrencies / Service Announcements (Altcoins) / [SERVICE] 🔧 Coin Creation, Development & Fix on: April 22, 2018, 08:20:48 AM

 



We are c++ developer and web designer, offer these services with support:

- Repair and fix coins
- Cloning and creating new Coins
- Creating hardfork (without blockchain split)
- Compiling coins (mac, linux, win versions)
- Setup explorer and seeder
- Setup node
- Securing servers
- Creating telegram bots





Topic:
https://bitcointalk.org/index.php?topic=3368781.0



contact us:

https://bitcointalk.org/index.php?action=profile;u=1797137


telegram:

@bitserv
IMPORTANT: when contact using telegram, tell us your btalk username otherwise we do not response. we may check your username by sending a PM then.

9  Other / Meta / mobile friendly bitcointalk on: April 17, 2018, 08:04:29 AM
would be great if you change bitcointalk template to be mobile friendly.
10  Alternate cryptocurrencies / Announcements (Altcoins) / [ANN] BitDaric - 🔥 Decentralized Cryptocurrency 👍 on: February 05, 2018, 08:38:27 AM









Linux
https://github.com/bitdaric/bitdaric/blob/master/doc/build-unix.md
Mac OSX
https://github.com/bitdaric/bitdaric/blob/master/doc/build-osx.md


Pool
 


Exchange

BitenTrade Exchange
Bisq Network : (download version 0.6.7 or higher)

Exchange that need contribute/vote
https://www.southxchange.com/Home/Vote
https://c-cex.com/?id=vote&coin=darx
https://vote.ubit.pw

Discord (Unofficial)
https://discord.gg/hysBhXf

Twitter
https://twitter.com/BitDaric


v.1.5.0. (EDA):
- added Emergency Difficulty Adjustement (EDA)
  If producing the last 6 block took more than 12h, increase the difficulty
  target by 1/4 (which reduces the difficulty by 20%). This ensure the
  chain do not get stuck in case we lose hashrate abruptly.
- added Stalled Network Recovery (SNR)
  If the new block's timestamp is more than 72h
  then allow mining of a min-difficulty block.


Pages: [1]
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!