Author Topic: 50 PTS Bounty - Fix PTS Synchronization Time Issues [PAID]  (Read 25338 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

I love the team work! 

Free trades fix needs to be part of the solution because my seed node fills up and stops accepting connections.  I have to kill it every 15 minutes to keep things working. 


Sent from my iPhone using Tapatalk
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
sudo apt-get update && sudo apt-get install git make g++ build-essential libminiupnpc-dev libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix
git clone https://github.com/InvictusInnovations/ProtoShares
cd Protoshares/src
make -f makefile.unix
echo "rpcuser=[youruser]" >> /root/.protoshares/protoshares.conf
echo "rpcpassword=[yourpass]" >> /root/.protoshares/protoshares.conf
./bitcoind -daemon
./bitcoind setgenerate true 3

since it's a vps, you may as well mine with it.
« Last Edit: December 28, 2013, 10:05:48 pm by barwizi »
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Actually, we should decide how many nodes we want / who we want to own them (should be distributed among a few people IMO) and then update the pull request.

Any volunteers for hosting seed nodes? Hosting costs will be reimbursed and I can provide a setup script pretty soon.
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Built from source with the new change and got some connections right away!

{
    "version" : 80600,
    "protocolversion" : 70001,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 8639,
    "timeoffset" : -1,
    "connections" : 5,
    "proxy" : "",
    "difficulty" : 0.00001526,
    "testnet" : false,
    "keypoololdest" : 1388266820,
    "keypoolsize" : 101,
    "paytxfee" : 0.01000000,
    "errors" : ""
}


Current droplet at:  162.243.197.231

I used addnode with this IP with the old client and it found some connections right away. So far I've built and tested the daemon on ubuntu. We need someone to build and test the QT client on windows (I don't have a windows machine), and then we're good!
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Ok, I'm setting up a DO droplet. I'll report when it's built and blockchain is downloaded. Once we confirm it works, I'll write a setup script and spin up 5-10 instances, then update the pull request with the new IP addresses.
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline FreeTrade

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
The issue people have is finding nodes to connect to not downloading the chain.


Sent from my iPhone using Tapatalk

I added a 'churn' option to MemoryCoin to help with this. It allows a seed node to be started so that it maintains outbound connections, but churns (disconnects) inbound connections after 10 minutes, hopefully allowing new users to connect, get a list of good nodes, and disconnect. Small addition to the source to do it.
“People should be more sophisticated? How are you gonna get that done?” - Jerry Seinfeld reply to Bill Maher

Offline bytemaster

Here is barwizi's change as a pull request:

https://github.com/InvictusInnovations/ProtoShares/pull/5

If you guys can guarantee reimbursement I'd be glad to make a DO account and spin up some dedicated nodes.

We will fund this reimbursement in PTS from the Angel fund.  As this effort is collaborative each of you must agree as to how to divide the 50 PTS among yourselves to deliver the complete solution.   The solution will be complete when I can post an updated download link and people have a positive experience.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Here is barwizi's change as a pull request:

https://github.com/InvictusInnovations/ProtoShares/pull/5

If you guys can guarantee reimbursement I'd be glad to make a DO account and spin up some dedicated nodes.
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
The seed nodes are just addnodes that were thrown around.

If you want nodes you can control, you need only fire up a few VPS and then use them as the seednodes.
As for windows compilation, i am unable to do that part for the time being. Pull request is being refused, please follow link for modified file.

https://drive.google.com/file/d/0BxCtiOzdwvPyYkpGdXJBZkZsX0k/edit?usp=sharing
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline bytemaster

Or do you want a pull request?

I would like a pull request as well as some background on the nodes in the list.  How do we know they will stay up?

I would also like a windows EXE built by someone I trust and who's identity I know. 
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline bytemaster

Or do you want a pull request?

I would like a pull request as well as some background on the nodes in the list.  How do we know they will stay up?
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
The issue people have is finding nodes to connect to not downloading the chain.


Sent from my iPhone using Tapatalk

modify this

Code: [Select]
static const char *strMainNetDNSSeed[][2] = {
    {"162.243.45.158", "162.243.45.158"},
    {"192.241.150.158", "192.241.150.158"},
    {"162.243.67.4", "162.243.67.4"},
    {"162.243.54.126", "162.243.54.126"},
    {"37.139.29.236", "37.139.29.236"},
    {"64.90.183.137", "64.90.183.137"},
    {"111.93.163.251","111.93.163.251"},
    {"54.219.164.96","54.219.164.96"},
    {"198.211.112.13","198.211.112.13"},
    {"50.112.199.32","50.112.199.32"},
    {"106.187.41.67","106.187.41.67"},
    {"54.218.232.206","54.218.232.206"},
    {"54.212.175.33","54.212.175.33"},
    {NULL, NULL}
};

in protoshares/src/net.cpp

to

Code: [Select]
static const char *strMainNetDNSSeed[][2] = {
    {"49.89.6.185", "49.89.6.185"},
    {"222.174.212.250", "222.174.212.250"},
    {"183.8.183.73", "183.8.183.73"},
    {"173.208.148", "173.208.148"},
    {"169.237.74.213", "169.237.74.213"},
    {"175.42.27.186","175.42.27.186"},
    {NULL, NULL}
};

Add more, as you see fit. also maybe get a server online that has high bandwidth, run the client there and add it to this list.
mine connects in seconds with the above.
« Last Edit: December 28, 2013, 06:44:03 pm by barwizi »
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

Offline bytemaster

The issue people have is finding nodes to connect to not downloading the chain.


Sent from my iPhone using Tapatalk
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
« Last Edit: December 28, 2013, 03:34:45 pm by barwizi »
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.