I have multiple voting methods coded for community testing (per utopianfuture's proposal) I just need a way to send and receive API calls in PHP. The below example returns NULL... Suggestions?
Its been more than a day that public nodes respond with:
Code:
for N in {1..100}; do curl --silent "http://node$N.nxtbase.com:7874/nxt?requestType=getState" | python -m json.tool | grep '"lastBlock"'; done "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785",
Other nodes that accept public request returns, what appears to be a valid lastBlock... However, all public node*.nxtbase.com nodes, for days, still returns same lastBlock 2680262203532249785.
I'm working on this. They seem to have gotten stuck after the upgrade yesterday.
Still stuck...
Post
Topic
BoardAnnouncements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
Its been more than a day that public nodes respond with:
Code:
for N in {1..100}; do curl --silent "http://node$N.nxtbase.com:7874/nxt?requestType=getState" | python -m json.tool | grep '"lastBlock"'; done "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785",
Other nodes that accept public request returns, what appears to be a valid lastBlock... However, all public node*.nxtbase.com nodes, for days, still returns same lastBlock 2680262203532249785.
Post
Topic
BoardAnnouncements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
by
nadrimajstor
on 04/01/2014, 01:53:49 UTC
Its been more than a day that public nodes respond with:
Code:
for N in {1..100}; do curl --silent "http://node$N.nxtbase.com:7874/nxt?requestType=getState" | python -m json.tool | grep '"lastBlock"'; done "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785", "lastBlock": "2680262203532249785",
Post
Topic
BoardAnnouncements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
Coz it's unknown what MAC address a transaction was sent from.
And nobody ever spoofed a MAC address.
Post
Topic
BoardAnnouncements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
by
nadrimajstor
on 01/01/2014, 20:21:58 UTC
Please consider running a non-proprietary OS... There are many flavours of Linux/BSD that one can easily run live from a CD / USB drive. It is not a panacea for all attack vectors but it is helpful.
Post
Topic
BoardAnnouncements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
In that case you will need a hardware firewall in front from your VPS which are very expensive ( ~$30k ) or you could move to some host that provides anti-ddos firewall protection ( which is also too expensive).
For a DoS attack you don't need those pricey HW firewalls... DoS should be resolved in nxt's code-base and if needed ad-hoc mitigated with simple greping/parsing server logs and applying appropriate iptables rules. For DDoS attacks the bottleneck is the uplink... In case of DDoS having eg. 10 servers on same uplink (same data-center/rack) won't help whatever you place in front of them. I could elaborate on poor's-man/wealthy's-man/our's-way of mitigating DDoS if anyone interested.
Post
Topic
BoardAnnouncements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
Only 200 aliases... I feel I should have at least twice that. Some are registering hourly,,, some others are not adding though. Could it take more than 24 hours to update?
See someone locked in Sakura in all 30 plus ways it can be written Still got an alt of it in 1337
I hope you make a lot of money from it.
heh, probably not Some aliases I'm very surprised I got. Other fairly obscure ones I'm surprised were already taken.
Waiting for the servers to come online as I have another 700 to input. I can see doing 10k atleast...
Kinda wish you could batch upload a list of Aliases.... instead of this tedious 1 by 1 shit
Happy New Year
Code:
#!/usr/bin/env bash
#title:nxt_alias_batch_register.sh #description:This script creates nxt aliases from a list in the given file #author:nadrimajstor #date:2014-01-01 #version :0.1 #licence:This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see .
function is_curl_installed(){ if ! hash curl &>/dev/null; then echo -e "\e[1;37mcurl\e[0m - \e[0;31mnot installed\e[0m" echo "try: sudo apt-get install curl" exit 1 fi }
function is_server_running(){ if ! curl --silent -k "$URL/nxt?requestType=getState" &>/dev/null; then echo -e "\e[1;37m$URL\e[0m - \e[0;31mserver not found\e[0m" exit 1 fi }
function is_account_balance_positive(){ local __balance=$(curl --silent -k "$URL/nxt?requestType=getBalance&account=$ACCOUNT" |\ grep 'balance' | tr --delete '{"}' | tr ':,' ' ' | cut -d ' ' -f2 ) if ! [[ "$__balance" -gt 0 ]]; then echo -e "\e[1;37m$ACCOUNT\e[0m - \e[0;31mnot enough funds\e[0m" exit 1 fi }
function does_file_exist(){ if ! [ -r "$FILE" ]; then echo -e "\e[1;37m$FILE\e[0m - \e[0;31mcan not read file\e[0m" exit 1 fi }
function create_alias(){ local ALIAS=$1 local __result=$(curl --silent -k "$URL/nxt?requestType=assignAlias&secretPhrase=$SECRET&alias=$ALIAS&uri=$URI&fee=$FEE&deadline=$DEADLINE") echo -e "\e[1;37m$ALIAS\e[0m - $__result" }
are_arguments_correct $* is_curl_installed
URL="https://localhost:7875" is_server_running
ACCOUNT=$1 is_account_balance_positive
FILE=$3 does_file_exist
SECRET=$2 URI=$4 FEE=1 DEADLINE=1440
for line in $(cat "$FILE"); do create_alias $line done
Hi everyone , regarding the logo of next Im proposing to major stakeholders big stashes of nxt make one with the help of 99designs.com ,I've made my self there a logo for a project I'm working on at the moment (sorry but I cant show it in public yet, may be in private only, since the project isnt ready) , and I can tell you that all this logos which are made until now on the forums are just junk comparing with the ones that its possible to choose from 99designs ...
... it will cost $1,199 to make a brilliant logo
I can take it on me, just send me NXT/BTC/LTC worth 1,199$ and I can assure you it will be the best logo ever.
u mean one dollar and onehundrednintynine cents right?
lol no, one dollar and onehundrednintynine is with a "." not a ","
In some countries it is the other way around
Post
Topic
BoardAnnouncements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
Raspberry Pis are a cheap way to stand up lots of new nodes fast to stabilize the network from DDoS attack more so than using them for forging new NXT coins.
I guessed as much - I'm running 3 nodes to do my small part to help... I just wonder if some people will mistakenly buy PIs thinking they are mining machines for NXT - which it is clear they are not and they would have been better increasing their stake... Of course if they want to buy 5 or 10 PIs to help the network that is fine but are they clear it won't help them get more NXT unless someone is paying them to do it of course.
They are cheap way to always keep 1 node unlocked without messing with your primary computer. They would also be a cool way to have secure remote access to NXT.
Just buy more RPis... Part of the profit goes to RPi Foundation
Post
Topic
BoardAnnouncements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
I have a bunch of dedicated servers, but all at one data center. Is there any benefit from deploying the server code on more than one of the servers?
What would the typical CPU load be? These are compute oriented servers, so not much bandwidth for each, maybe 10mbps.
How much would this help?
James
In case of DoS it will help to spread the load... However in case of DDoS you will fill uplink (if all are on the same uplink)... Hosting provider could help figuring out that one. That is the reason why I offered to operate just one additional node if someone would like to be a sponsor.
Post
Topic
BoardAnnouncements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
1. I have received several PMs with offers to help set up public nodes 2. Due to the very high volume of posts, I have not been able to check through every one looking for most suitable/deserving member to disburse the funds. 3. We have another 260K in the fund available for immediate disbursement. So, here's my plan.
Anyone who has a history of setting up nodes and who have a specific plan of action, please post your requirements here and follow up with a PM to me. I'll disburse funds to all legit requests asap.
Conditions:
1. You must describe your specific plan and how much Nxt you need to implement the plan. Eg. I need xx Nxt to set up nn Nodes in these locations by this date.
2. You have to report back to the community after you've implemented your plan.
Thanks.
I could setup more root servers... 24h-36h TTC... And attend them at least two times a day... Server location: Germany
Great news. Congratulations. Had you considered revisiting stance on small contract holders with limited access to Affidavit process?
Post
Topic
BoardServices
Re: Gigamining / Teramining
by
nadrimajstor
on 17/04/2013, 22:38:39 UTC
As my government is finally started to show some progress in effort to become EU member, there is a plan to soon have local notaries, meaning that the price of getting affidavit should become reasonable (at least reasonable for me). However, as I missed this deadline
Quote
VPS will keep the claims process open for another three months through May 23, 2013.
What path could we take now?
Post
Topic
BoardServices
Re: Gigamining / Teramining
by
nadrimajstor
on 28/03/2013, 01:42:17 UTC
To be fair, to put a a scammer label on somebody you need to have intention as a starting point. In the case of gigamining I don't see clear intention. However, James did change the rules and I'll have to wait before I made my final judgment about him.
I assume that there will be no change in the rules because it will not be fair to others who went trough affidavit process.
As claim process will end soon, it is obvious that I will not going to make it (not that I don't want to - but for me US Embassy is far away, both in terms of distance and money).
James, what will happen now with my shares and dividends?