Bitcoin Forum
November 03, 2024, 05:15:21 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: The result of our STATIC nodes poll was 500,000 coins on deposit for Level 1 STATIC nodes.
0
0
0

Pages: « 1 ... 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 [183] 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 ... 346 »
  Print  
Author Topic: [NEW XBY ANN] XTRABYTES - BECAUSE THE BLOCKCHAIN CAN BE BETTER  (Read 371152 times)
finist4x
Legendary
*
Offline Offline

Activity: 1696
Merit: 1016



View Profile WWW
August 25, 2017, 02:29:05 PM
 #3641





Friends! Support your XTRABYTES ...

https://bitcointalk.org/index.php?topic=1948108.msg21058883#msg21058883


Audit Smart Contract
{
 F    R    E    E

- AI - Audit tools
}
--  -
--  -
--  -
--  -
--  -
--  -
--  -
--  -
--  -
--  -
--  -
--  -

 
 
 

  
#  DEVto
#  Tumblr
#  Medium
 
--
--
--
-- 
-- 
-- 
-- 
-- 
-- 
-- 
-- 
--
 
gatuso
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 25, 2017, 02:35:02 PM
Last edit: August 25, 2017, 02:53:57 PM by gatuso
 #3642

Test script.
You need PHP installed in OS.
CLI mode for crontab in Linux wallet.
WEB mode for windows with wamp/xamp.
Also you need this file: https://raw.githubusercontent.com/aceat64/EasyBitcoin-PHP/master/easybitcoin.php

Code:
<?php
require_once('easybitcoin.php');

$rpcuser 'x';
$rpcpass 'y';
$port '34001';
$rpcip '127.0.0.1';

$random_addresses = array(
'INSERT HERE SOME WALLET ADDRESS',
'INSERT HERE SOME WALLET ADDRESS',
'INSERT HERE SOME WALLET ADDRESS',
'INSERT HERE SOME WALLET ADDRESS'
);
$bitcoin = new Bitcoin($rpcuser,$rpcpass,$rpcip,$port);
$bitcoin->getaddressesbyaccount("");
$address=null;
$amount 2;
$loop_times 1;
$random 0;

//*********************WEB*********************
if (PHP_SAPI != 'cli'

if( isset($_REQUEST['address']) && $_REQUEST['address']!="")
$address $_REQUEST['address'];

if( isset($_REQUEST['amount']) && $_REQUEST['amount']>0)
$amount $_REQUEST['amount'];

if( isset($_REQUEST['loop_times']) && $_REQUEST['loop_times']>0)
$loop_times $_REQUEST['loop_times'];

if( isset($_REQUEST['random']) && $_REQUEST['random']=='true')
$random 1;

if( isset($_REQUEST['addrs']) && $_REQUEST['addrs']!="")
{
$temp explode(',',$_REQUEST['addrs']);
if(count($temp)>0)$random_addresses $temp;
}

   
$BR="<BR/>";
   
   
?>

<html>
<head>
<script>
function add()
{
var total = document.getElementById('totaladdr').value;
var div = document.getElementById('addrs');

var node = document.createElement("div");       
node.innerHTML = '<div>Add Wallet Address<input id="address'+total+'" type="text" placeholder="address'+total+'"></div>';
div.appendChild(node);                           
document.getElementById('totaladdr').value = parseInt(total)+parseInt(1);
}
function run()
{
var total = document.getElementById('totaladdr').value;
var addrs='';
for(var i=0;i<total;i++)
{
if(document.getElementById('address'+i))
{
if(i>0)addrs+=',';
addrs+=document.getElementById('address'+i).value;
}
}

var url = 'test.php?'+'address='+document.getElementById('address').value
+'&amount='+document.getElementById('amount').value
+'&loop_times='+document.getElementById('loop_times').value
+'&random='+document.getElementById('random').checked
+'&addrs='+addrs;

document.getElementById('add').disabled = true;
document.getElementById('run').disabled = true;
document.getElementById('run').innerHTML='RUNNIG';

window.location = url;
}
function loaded()
{
document.getElementById('add').disabled = false;
document.getElementById('run').disabled = false;
}

</script>
</head>
<body onload='loaded()'>
<div>
Amount to send<input id="amount" type="text" placeholder="amount" value="<?php echo $amount;?>">
</div>
<div>
Loop Times<input id="loop_times" type="text" placeholder="loop times" value="<?php echo $loop_times;?>">
</div>
<div>
Address to send<input id="address" type="text" placeholder="address" value="<?php echo $address;?>">
</div>
<div>
Random Address<input autocomplete=off id="random" type="checkbox" <?php if($random) echo "checked";?> placeholder="use random address">
</div>
<div id='addrs'>
<?php
for($i=0$i<count($random_addresses); $i++)
{
echo"
<div>
Add Wallet Address<input autocomplete=off id='address
$i' type='text' placeholder='address$i' value=".$random_addresses[$i].">
</div>
"
;
}
?>

</div>
<?php echo "<input autocomplete=off disabled id='totaladdr' type='hidden' value='";echo count($random_addresses); echo "'>"?>

<button id='add' onclick="add();" disabled>Add address</button>
<br/>
<button id='run' onclick="run();" disabled>Run again</button>
</body>
<?php
echo 
$BR;



//*********************WEB*********************

//*********************CLI*********************
//$argv[0] name of file
//$argv[1]  address to send
//$argv[2]  amount to send
//$argv[3]  loop times
//$argv[4]  random addresses (1 or 0)
if (PHP_SAPI === 'cli'

if(isset($argv[4]) && $argv[4]==&& count($random_addresses)>0){
$random 1;
}
else if(isset($argv[1])){
$address $argv[1];
}
else if( isset($bitcoin->response["result"][0]) ){
$address $bitcoin->response["result"][0];
}
else{
echo "No address, no send";
die;
}

if(isset($argv[2]) && $argv[2]>0){
$amount $argv[2];
}

if(isset($argv[3]) && $argv[3]>0){
$loop_times $argv[3];
}

$BR=PHP_EOL;  
}
//*********************CLI*********************

echo 'Begin Sending';
echo 
$BR;

$tx = array();

for(
$i=0;$i<$loop_times;$i++)
{
if($random && count($random_addresses)>0)
$address $random_addresses[array_rand($random_addresses)];

if($address!='')
{
echo $BR.'Sending to address:'.$address.' | Amount:'.$amount;
$bitcoin->sendtoaddress($address,$amount);
echo $BR."TX:".$bitcoin->response["result"];
array_push$tx,$bitcoin->response["result"] );
}
else
echo 'Cannot send to empty address';
echo $BR;
}
echo 
$BR;
echo 
'Sent';
echo 
$BR;
echo 
'TX:';
echo 
$BR;
var_dump($tx);
echo 
$BR;
echo 
'End';
?>

cryptocan
Full Member
***
Offline Offline

Activity: 122
Merit: 100


View Profile
August 25, 2017, 04:06:50 PM
 #3643



The new TESTNET wallet (with bugs fixed) has been compiled and another hard reset has just occurred. This means that we must wait for block 122 before transactions can start again and this is about 4 hours away... So, we will be picking things up again after some sleeps.

Thank you all for your patience as we work though this very interesting phase of XTRABYTES development!!

Dave, Borz and the TESTNET Crew!!







does the static node works on windows?
if it works I can join the test net to start a static node on my VM
dotmanifest
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
August 25, 2017, 04:16:31 PM
 #3644



The new TESTNET wallet (with bugs fixed) has been compiled and another hard reset has just occurred. This means that we must wait for block 122 before transactions can start again and this is about 4 hours away... So, we will be picking things up again after some sleeps.

Thank you all for your patience as we work though this very interesting phase of XTRABYTES development!!

Dave, Borz and the TESTNET Crew!!


https://xtrabytes.global/images/REALBYTE.jpg




does the static node works on windows?
if it works I can join the test net to start a static node on my VM

I think it should once they release it to all the public testers
gosker
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
August 25, 2017, 04:33:25 PM
 #3645

Been watching xby for some weeks now and joined the testnet group on slack recently. Curious to see how far this project will go.
WpW420
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile WWW
August 25, 2017, 05:48:21 PM
 #3646

Great News waiting for new wallet to test it.
Long Life XBY Cheesy


just bought 97 of em and going to go download wallet now
smokim87
Hero Member
*****
Offline Offline

Activity: 952
Merit: 500


View Profile
August 25, 2017, 05:57:29 PM
 #3647



The new TESTNET wallet (with bugs fixed) has been compiled and another hard reset has just occurred. This means that we must wait for block 122 before transactions can start again and this is about 4 hours away... So, we will be picking things up again after some sleeps.

Thank you all for your patience as we work though this very interesting phase of XTRABYTES development!!

Dave, Borz and the TESTNET Crew!!







This week just keeps getting better and better.  I admit, I don't know much about how to test a network, but there are many in the Slack just chomping at the bit to run scripts on this thing.  It's exciting to just to be there and see people coming together to start thins thing.

I am one of those chomping at the bit. I want to punish this baby. Cheesy

From what I've seen we have a script that is capable of pushing the network, but I invite anyone with scripting/networking experience to look over what has been written so far and we can work to really put the TestNet through it's paces.

Here are the script(s), feel free to suggest any alterations:

xby-bot.py - written by smokim87
Code:
import requests
import json
 
def main():
    # default RPC port for XBY
    rpc_port = 35001
 
    # RPC credentials, as specified in xtrabytes.conf
    rpc_user = "testuser"
    rpc_password = "testpassword"
 
    # Generating the url from the specified credentials
    url = "http://" + rpc_user + ":" + rpc_password + "@localhost:" + str(rpc_port)
 
    # Setting the header
    headers = {'content-type': 'application/json'}
 
    # Specifying the recipients wallets. Although it might be easier to read from file/DB
    recipients = ['address1', 'address2', 'address3']
  
    # Set amount
    amount_to_send = 1000
 
    # Loop over the receiving addresses
    for recipient in recipients:
        # Example of sending the money transfer command
        payload = {
            "method": "sendtoaddress",
            "params": [recipient, amount_to_send],
            "jsonrpc": "2.0",
            "id": 0,
        }
 
        # Send the RPC request
        response = requests.post(
            url, data=json.dumps(payload), headers=headers).json()
  
        # Print the Response
        print(response.json()['result'])
 
if __name__ == "__main__":
    main()

There is also another:

testnet.php - written by gatuso
Code:
Ok guys you need to get this file:

https://raw.githubusercontent.com/aceat64/EasyBitcoin-PHP/master/easybitcoin.php

Save it to a folder. In the same folder save the code in a file testnet.php:

<?php
require_once('easybitcoin.php');

$rpcuser 'x';
$rpcpass 'y';
$port '35001';
$rpcip '127.0.0.1';

//$argv[0] name of file
//$argv[1]  address to send
//$argv[2]  amount to send
//$argv[3]  loop times

echo 'Begin';
echo 
'<br><br>';
echo 
'<br><br>';
$bitcoin = new Bitcoin($rpcuser,$rpcpass,$rpcip,$port);
$bitcoin->getaddressesbyaccount();
$address=null;

if(isset(
$bitcoin->response["result"][0]))
$address=$bitcoin->response["result"][0];

if(isset(
$argv[1]))
$address $argv[1];
else if(isset(
$address))
$address $bitcoin;
else{
echo "No address, no send"; die;
}


if(isset(
$argv[2]))
$amount $argv[2];
else
$amount 2;

if(isset(
$argv[3]))
$loop_times $argv[3];
else
$loop_times 1;

echo 
'Sending';
echo 
'<br><br>';
$tx = array();

for(
$i=0;$i<$loop_times;$i++)
{
$bitcoin->sendtoaddress($address,$amount);
array_push$tx,$bitcoin->response["result"] );
}

echo 
'Sent';
echo 
'<br><br>';
echo 
'TX:';
echo 
'<br><br>';
var_dump($tx);
echo 
'<br><br>';
echo 
'<br><br>';
echo 
'End';
?>


Then you can open shell and run: php testnet.php <address> <amount> <loop_times>
You need PHP installed and configured in your OS.
I did this just now, not sure gonna work.

Again, if you have a script you think will test/punish the network, come forward in Slack and we will look at running it. Otherwise if you can think of any additions alterations to the code above then please don't be shy! This is an exciting time to be involved guys and it is very much a community effort at the moment.

Deserving of a BUMP.  I don't know how to write scripts, but I'm sure there are many here who do know how
The excitement is quite palpable.  You can feel it.
Happy and grateful to be here with everyone.

Nice!

Just want to give Credit to jasperrr91  from XBY slack for creating the python bot for me. I take no credit for it, all credit goes to him Smiley
eggsandspamm
Full Member
***
Offline Offline

Activity: 299
Merit: 100


View Profile
August 25, 2017, 06:29:41 PM
 #3648

Great updates here! Buy support is building so I think XBY about to make another run up.
dotmanifest
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
August 25, 2017, 06:43:46 PM
 #3649

Great updates here! Buy support is building so I think XBY about to make another run up.

We need more meme triangles ►
Mezmon
Member
**
Offline Offline

Activity: 91
Merit: 10


View Profile
August 25, 2017, 06:50:50 PM
 #3650

Exciting stuff going on here for sure! Been holding since early July. Joined slack early August and been helping out with testnet for the past week.
Good stuff here and great communication from devs!

AlUz
Full Member
***
Offline Offline

Activity: 459
Merit: 100


View Profile
August 25, 2017, 06:55:19 PM
 #3651

Great updates here! Buy support is building so I think XBY about to make another run up.
Its nice to see buy support is building on Pia and C-cex.
So I think XBY about to make another run up TOO  Kiss.
pyTHONG
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
August 25, 2017, 07:50:06 PM
 #3652

Great updates here! Buy support is building so I think XBY about to make another run up.
Its nice to see buy support is building on Pia and C-cex.
So I think XBY about to make another run up TOO  Kiss.

Absolutely, we're stabilizing at around the 600 mark. With all the updates, improvements to xby, the rebranding and all the other goodies this will expand dramatically in the coming months. Just got more because I do not want to look back and regret not purchasing another valuable asset.
22justin
Sr. Member
****
Offline Offline

Activity: 307
Merit: 250



View Profile WWW
August 25, 2017, 08:18:36 PM
 #3653

Xtrabytes and Shift are my two favorite coins in the 100-200 market cap range. Expecting 10x gains on both. Great future ahead

Looking for the next 10x Small Cap for Q2 2018? $XBY (dApp Platform, New PoSign Algorithm), $SHIFT (dPoS Decentralized Web 3.0 on IFPS) & $BLOCK (Blockchain Agnostic DeX, atomic swaps)
Twitter: @Vancitycrypto
dotmanifest
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
August 25, 2017, 08:37:07 PM
 #3654

Great updates here! Buy support is building so I think XBY about to make another run up.
Its nice to see buy support is building on Pia and C-cex.
So I think XBY about to make another run up TOO  Kiss.

Absolutely, we're stabilizing at around the 600 mark. With all the updates, improvements to xby, the rebranding and all the other goodies this will expand dramatically in the coming months. Just got more because I do not want to look back and regret not purchasing another valuable asset.

Definitely agree, once the website comes online with the roadmap and whitepaper, we're set to go!
enkiamo
Full Member
***
Offline Offline

Activity: 345
Merit: 105


View Profile
August 25, 2017, 09:31:54 PM
 #3655

Xtrabytes and Shift are my two favorite coins in the 100-200 market cap range. Expecting 10x gains on both. Great future ahead

Both are about the surest 10x gains I would think.
fishfishfish313
Sr. Member
****
Offline Offline

Activity: 546
Merit: 252


View Profile
August 25, 2017, 10:09:11 PM
 #3656



The new TESTNET wallet (with bugs fixed) has been compiled and another hard reset has just occurred. This means that we must wait for block 122 before transactions can start again and this is about 4 hours away... So, we will be picking things up again after some sleeps.

Thank you all for your patience as we work though this very interesting phase of XTRABYTES development!!

Dave, Borz and the TESTNET Crew!!







This week just keeps getting better and better.  I admit, I don't know much about how to test a network, but there are many in the Slack just chomping at the bit to run scripts on this thing.  It's exciting to just to be there and see people coming together to start thins thing.

I am one of those chomping at the bit. I want to punish this baby. Cheesy

From what I've seen we have a script that is capable of pushing the network, but I invite anyone with scripting/networking experience to look over what has been written so far and we can work to really put the TestNet through it's paces.

Here are the script(s), feel free to suggest any alterations:

xby-bot.py - written by smokim87
Code:
import requests
import json
 
def main():
    # default RPC port for XBY
    rpc_port = 35001
 
    # RPC credentials, as specified in xtrabytes.conf
    rpc_user = "testuser"
    rpc_password = "testpassword"
 
    # Generating the url from the specified credentials
    url = "http://" + rpc_user + ":" + rpc_password + "@localhost:" + str(rpc_port)
 
    # Setting the header
    headers = {'content-type': 'application/json'}
 
    # Specifying the recipients wallets. Although it might be easier to read from file/DB
    recipients = ['address1', 'address2', 'address3']
  
    # Set amount
    amount_to_send = 1000
 
    # Loop over the receiving addresses
    for recipient in recipients:
        # Example of sending the money transfer command
        payload = {
            "method": "sendtoaddress",
            "params": [recipient, amount_to_send],
            "jsonrpc": "2.0",
            "id": 0,
        }
 
        # Send the RPC request
        response = requests.post(
            url, data=json.dumps(payload), headers=headers).json()
  
        # Print the Response
        print(response.json()['result'])
 
if __name__ == "__main__":
    main()

There is also another:

testnet.php - written by gatuso
Code:
Ok guys you need to get this file:

https://raw.githubusercontent.com/aceat64/EasyBitcoin-PHP/master/easybitcoin.php

Save it to a folder. In the same folder save the code in a file testnet.php:

<?php
require_once('easybitcoin.php');

$rpcuser 'x';
$rpcpass 'y';
$port '35001';
$rpcip '127.0.0.1';

//$argv[0] name of file
//$argv[1]  address to send
//$argv[2]  amount to send
//$argv[3]  loop times

echo 'Begin';
echo 
'<br><br>';
echo 
'<br><br>';
$bitcoin = new Bitcoin($rpcuser,$rpcpass,$rpcip,$port);
$bitcoin->getaddressesbyaccount();
$address=null;

if(isset(
$bitcoin->response["result"][0]))
$address=$bitcoin->response["result"][0];

if(isset(
$argv[1]))
$address $argv[1];
else if(isset(
$address))
$address $bitcoin;
else{
echo "No address, no send"; die;
}


if(isset(
$argv[2]))
$amount $argv[2];
else
$amount 2;

if(isset(
$argv[3]))
$loop_times $argv[3];
else
$loop_times 1;

echo 
'Sending';
echo 
'<br><br>';
$tx = array();

for(
$i=0;$i<$loop_times;$i++)
{
$bitcoin->sendtoaddress($address,$amount);
array_push$tx,$bitcoin->response["result"] );
}

echo 
'Sent';
echo 
'<br><br>';
echo 
'TX:';
echo 
'<br><br>';
var_dump($tx);
echo 
'<br><br>';
echo 
'<br><br>';
echo 
'End';
?>


Then you can open shell and run: php testnet.php <address> <amount> <loop_times>
You need PHP installed and configured in your OS.
I did this just now, not sure gonna work.

Again, if you have a script you think will test/punish the network, come forward in Slack and we will look at running it. Otherwise if you can think of any additions alterations to the code above then please don't be shy! This is an exciting time to be involved guys and it is very much a community effort at the moment.

Deserving of a BUMP.  I don't know how to write scripts, but I'm sure there are many here who do know how
The excitement is quite palpable.  You can feel it.
Happy and grateful to be here with everyone.

Nice!

Just want to give Credit to jasperrr91  from XBY slack for creating the python bot for me. I take no credit for it, all credit goes to him Smiley

Thanks for your contributions guys!! 

I'll one shot you with the Wingman from the top of Skulltown - Apex
eggsandspamm
Full Member
***
Offline Offline

Activity: 299
Merit: 100


View Profile
August 25, 2017, 11:15:47 PM
 #3657

Super pumped to get this testnet scaled up to full power!
LostWords
Full Member
***
Offline Offline

Activity: 280
Merit: 101


View Profile
August 25, 2017, 11:38:07 PM
 #3658

Yeah, the same. I've read a lot already about the speed, the amount of transactions and what not on the Slack. The couple testers were like superpumped/hyped Smiley exciting
PeoplePower
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
August 25, 2017, 11:43:53 PM
 #3659

Did C-Cex Exchange ever refund the original scammed ICO investors who had invested in the scam ICO, after Borzalom and CCRevolution rescued the XBY blockchain? If so, could anyone with direct knowledge or evidence confirm this as a fact?
cryptocan
Full Member
***
Offline Offline

Activity: 122
Merit: 100


View Profile
August 26, 2017, 12:01:20 AM
 #3660

Did C-Cex Exchange ever refund the original scammed ICO investors who had invested in the scam ICO, after Borzalom and CCRevolution rescued the XBY blockchain? If so, could anyone with direct knowledge or evidence confirm this as a fact?
Based on what I remember, I think everyone got the same amount of coin they bought from the ICO in the new chain
Pages: « 1 ... 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 [183] 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 ... 346 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!