Bitcoin Forum
May 29, 2024, 07:25:51 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 [1067] 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761533 times)
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
January 20, 2014, 06:01:46 PM
 #21321

What if we just make a simple site, where you can post an issue to vote.

Then people can vote by using the authorization token.

They addresses are checked for age and maybe some balance threshold and added for everyone to see, so it can be transparent.

It won't be perfect, but will be hell of a lot better than forum polls.

Anyone up to it?

i strongly support this. best idea yet.

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
landomata
Legendary
*
Offline Offline

Activity: 2184
Merit: 1000


View Profile WWW
January 20, 2014, 06:04:09 PM
 #21322

What if we just make a simple site, where you can post an issue to vote.

Then people can vote by using the authorization token.

They addresses are checked for age and maybe some balance threshold and added for everyone to see, so it can be transparent.

It won't be perfect, but will be hell of a lot better than forum polls.

Anyone up to it?

i strongly support this. best idea yet.

it could easily be linked to all the various Nxt forums.

Edit: To protect against non- Nxters voting you would put NXT Public key as identifier....only 1 IP address & 1 public key per vote.


newsilike
Sr. Member
****
Offline Offline

Activity: 630
Merit: 262


This account was hacked. just recently got it back


View Profile
January 20, 2014, 06:04:21 PM
 #21323

What if we just make a simple site, where you can post an issue to vote.

Then people can vote by using the authorization token.

They addresses are checked for age and maybe some balance threshold and added for everyone to see, so it can be transparent.

It won't be perfect, but will be hell of a lot better than forum polls.

Anyone up to it?

i strongly support this. best idea yet.

Seems to be a good idea, indeed.
+1
NxtChg
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 20, 2014, 06:04:23 PM
 #21324

What if we just make a simple site, where you can post an issue to vote.

Then people can vote by using the authorization token.

They addresses are checked for age and maybe some balance threshold and added for everyone to see, so it can be transparent.

It won't be perfect, but will be hell of a lot better than forum polls.

Anyone up to it?

i strongly support this. best idea yet.

And it can even be made simpler if we also post links to forum posts or wiki articles with nice formatting and more info.

So just a short text field and URL are needed.

If nobody is up to it, I can probably do it, I already have NRS/database on the server.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
January 20, 2014, 06:05:17 PM
 #21325

i strongly support this. best idea yet.

I support it also although I actually would like to see people have to *pay* to vote (as I don't this has really been tried before and could be an interesting experiment).

Think about it - you can "rig" an outcome by burning up your NXT but how many times can you afford to do that?

Perhaps also rather than just having the NXT being used for such a poll being fed back as fees (which an AM approach would do) why not have the accounts be used for something (but not for what they represent so they can't send themselves money to use).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
okaynow
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


PGP 9CB0902E


View Profile
January 20, 2014, 06:06:58 PM
 #21326

client doesn’t works , cant start it , 05.9

type "Ctrl+C" in your terminal to stop your client.
Go to your Nxt folder, delete transactions.nxt & blocks.nxt
Rename the 2 .nxt.bak files to .nxt
Start your client, wait for 1-2 mins
Log in.

I actually would like to see people have to *pay* to vote (as I don't this has really been tried before and could be an interesting experiment).
But is it not obvious why "pay-4-vote" has not been implemented anywhere? Don't you think that buying your way in a vote is the complete opposite of a vote?

Think about it - you can "rig" an outcome by burning up your NXT but how many times can you afford to do that?

The way i see it does not matter "how many times" one can do it. If even once one is able to buy the outcome of a vote, it is enough to show that the outcome is rigged. I might not be able to do it, but if anyone can manipulate a vote, because he has managed to allocate the funds to do so, why should we make this process easier for him?

Is it not obvious that it is too easy to rig any outcome when buy-in is a prerequisite to participate in a voting process?


1PeecNu1J8VNKpgR13nasMZWLcMZrwNJfc
landomata
Legendary
*
Offline Offline

Activity: 2184
Merit: 1000


View Profile WWW
January 20, 2014, 06:07:26 PM
 #21327

i strongly support this. best idea yet.

I support it also although I actually would like to see people have to *pay* to vote (as I don't this has really been tried before and could be an interesting experiment).


no need to pay.....many Nxters have only a few Nxt and we want every stakeholder to vote.

utopianfuture
Sr. Member
****
Offline Offline

Activity: 602
Merit: 268

Internet of Value


View Profile
January 20, 2014, 06:07:45 PM
 #21328

What if we just make a simple site, where you can post an issue to vote.

Then people can vote by using the authorization token.

They addresses are checked for age and maybe some balance threshold and added for everyone to see, so it can be transparent.

It won't be perfect, but will be hell of a lot better than forum polls.

Anyone up to it?

i strongly support this. best idea yet.

And it can even be made simpler if we also post links to forum posts or wiki articles with nice formatting and more info.

So just a short text field and URL are needed.

If nobody is up to it, I can probably do it, I already have NRS/database on the server and worked with API.

Could we have a deadline ? Let's make it work.

Someone registers nxtvote.


░░░░░░▄▄▄████████▄▄▄
░░░░▄████████████████▄
░░▄███████████████████▄
███████████████████████
▐████████████████████████▌
█████████████████████████
█████████████████████████
█████████████████████████
▐██████████████████████▌
████████████████████████
░░▀████████████████████▀
░░░░▀████████████████▀
░░░░░░▀▀▀████████▀▀▀
  TomoChain  •    •  TomoChain 
░░░░░░▄▄▄████████▄▄▄
░░░░▄████████████████▄
░░▄███████████████████▄
███████████████████████
▐████████████████████████▌
█████████████████████████
█████████████████████████
█████████████████████████
▐██████████████████████▌
████████████████████████
░░▀████████████████████▀
░░░░▀████████████████▀
░░░░░░▀▀▀████████▀▀▀
wesleyh
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
January 20, 2014, 06:08:08 PM
 #21329

I can do this, give me some time :-) (Later today)
fmiboy
Full Member
***
Offline Offline

Activity: 189
Merit: 100


View Profile
January 20, 2014, 06:09:15 PM
 #21330

RaspNXT - a standalone NXT environment for the Raspberry Pi
Thanks for your work davethetrousers!

I just modified your run_nxt.sh to be more raspian frendly with some log messages and to enable system startup and stop. It monitors the log file at start or stop of the server and logs it in the start/stop message. Just copy it to /etc/init.d and run "sudo update-rc.d run_nxt.sh defaults". It will start and stop in the runlevels and it will wait on "stop" untill blockchain is saved (timeout 10m).

Please make sure to setup the variables like directorys and such. This is tested only with 0.5.9 and if a next update changes the log output, this script have to be changed!

Code:
#! /bin/bash

### BEGIN INIT INFO
# Provides:          nxt
# Required-Start:    $local_fs $remote_fs $network $syslog $named $ntp $sshd
# Required-Stop:     
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start/stop NXT server
# Description:       NXT protocol server
### END INIT INFO

if [ `id -u` != "0" ] && [ "$1" = "start" -o "$1" = "stop" ] ; then
  echo "You must be root to start/stop nxt."
  exit 1
fi

# Settings
nxtdir=/home/pi/nxt
nxt=start.jar
java=/usr/bin/java
nxtpid=/var/run/nxt.pid
nxtlog=/var/log/nxt.log
nxtuser=pi
nxtgroup=pi
nxtnice=6
timeout=600
# end Settings

# check for exist files and dirs
test -d $nxtdir || exit 0
test -f $nxtdir/$nxt || exit 0
test -f $java || exit 0

# make sure $nxtdir is ours!
chown -R $nxtuser:$nxtgroup $nxtdir

. /lib/lsb/init-functions

case "$1" in
    start)
log_daemon_msg "Starting NXT server..." "nxt " || true

# check if server is running
        if [ -e $nxtpid ]; then
            pid=`cat $nxtpid`
            var=`ps -p$pid | wc -l`

            if [ $var -lt "2" ]; then
# clear logfile
echo -n > $nxtlog
            else
echo -n "Server is already running!"
log_end_msg 0 || true
exit 0
            fi
        fi

# n minute timeout.
sleep $timeout &
timerPid=$!

# check log file and generate status-msg; will be killed when server is started or timeout hit
tail -q -n0 -F --pid=$timerPid $nxtlog 2> /dev/null | while read line; do

if echo $line | grep -q  "Loading transactions..."; then
echo -n "Loading transactions..."
elif echo $line | grep -q  "Loading blocks..."; then
echo -n "Loading blocks..."
elif echo $line | grep -q  "Scanning blockchain..."; then
echo -n "Scanning blockchain..."
fi

if echo $line | grep -q  "Exception"; then
echo -n "Java Exception! Blockchain corrupt? Killing process..."
log_end_msg 1 || true
kill -9 `cat $nxtpid` > /dev/null 2>&1
# stop the timer..
kill $timerPid > /dev/null 2>&1
fi

if echo $line | grep -q  "started successfully."; then
echo -n "Server started!"
log_end_msg 0 || true
# stop the timer..
kill $timerPid > /dev/null 2>&1
fi
done &

# start server
if start-stop-daemon --start --name nxt --nicelevel $nxtnice --chuid $nxtuser:$nxtgroup --pidfile $nxtpid -m --chdir $nxtdir --exec $java >> $nxtlog -- -Xms250m -Xmx350m -jar $nxt STOP.PORT=7873 STOP.KEY=0815 2>&1 >> $nxtlog & then
# wait for the timer to expire (or be killed)
wait %sleep > /dev/null 2>&1
else
log_end_msg 1 || true
fi
        ;;
    stop)
log_daemon_msg "Stopping NXT server..." "nxt " || true

# check if server is running
        if [ -e $nxtpid ]; then
            pid=`cat $nxtpid`
            var=`ps -p$pid | wc -l`

            if [ $var -lt "2" ]; then
echo -n "Server not running!"
log_end_msg 0 || true
exit 0
            fi
else
echo -n "Server not running!"
log_end_msg 0 || true
exit 0
        fi

# n minute timeout.
sleep $timeout &
timerPid=$!

# check log file and generate status-msg; will be killed when server is stopped or timeout hit
tail -q -n0 -F --pid=$timerPid $nxtlog 2> /dev/null | while read line; do
if echo $line | grep -q  "Saved blocks.nxt"; then
echo -n ".saving blockchain files, this will take a while...Saved blocks.nxt..."
fi
if echo $line | grep -q  "Saved transactions.nxt"; then
echo -n "Saved transactions.nxt..."
fi

if echo $line | grep -q  "stopped."; then
echo -n "Server stopped!"
log_end_msg 0 || true
# stop the timer..
kill $timerPid
fi
done &

if start-stop-daemon --start --name nxt_stop --chdir $nxtdir --exec $java 2>&1 >> $nxtlog -- -jar $nxt --stop STOP.PORT=7873 STOP.KEY=0815 2>&1 >> $nxtlog & then
# wait for the timer to expire (or be killed)
wait %sleep > /dev/null 2>&1
rm $nxtpid  > /dev/null 2>&1
else
log_end_msg 1 || true
fi
        ;;

    restart)
$0 stop
sleep 1
$0 start
;;
    *)
        echo "usage:`basename $0` start | stop | restart"
        exit 1
        ;;
esac

I hope its useful for someone. If someone finds bugs or something stupid, please let me know, I'm not an expert! ;o)

greets
eb

great, thanks! I might use it in couple of days. Yesterday got my Pi model B Smiley but I wasn't aware of the fact that package doesn't have any connection cables... need to buy hdmi
abctc
Legendary
*
Offline Offline

Activity: 1792
Merit: 1038



View Profile
January 20, 2014, 06:09:25 PM
 #21331

Here is my suggestion: Open a Nxt account for voting.  If someone wants to vote, they can send the account a public AM (Message).  Use a topic # that people can use in their voting message.  For example, message says "I vote for option #2 on topic # 112" That way, it cost 1 Nxt to vote but the account doesn't actually receive any Nxt.  
- sounds like a perfect task for AM contest!

█████████████████████████████████████████████████
███████████████████████████████████████████████████
█████████████████████████████████████████████████████
█████████████████████████████████████████████████████
██████████████████████████████████████████████████████
█████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████
███████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████████
   
, the Next platform.  Magis quam Moneta (More than a Coin)
Mario123
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile WWW
January 20, 2014, 06:12:47 PM
 #21332

Made a starting point homepage for newcomers:

http://www.mynxt.org

If you find wrong information or have some suggestions, please PM me. Thanks!

I hope you like it!

(registered a new nick on bitcointalk for this)

Good job!

+1 Mario123, great looking site.  Will be great when we get a couple open source clients.  This is a reason why we don't need one person with a marketing budget, Salasz should give Mario123 bounty right now.

Thank you guys, I really appreciate it. If you have any suggestions, please let me know!

Mario

gs02xzz
Full Member
***
Offline Offline

Activity: 221
Merit: 100


View Profile
January 20, 2014, 06:13:22 PM
 #21333

What if we just make a simple site, where you can post an issue to vote.

Then people can vote by using the authorization token.

They addresses are checked for age and maybe some balance threshold and added for everyone to see, so it can be transparent.

It won't be perfect, but will be hell of a lot better than forum polls.

Anyone up to it?

i strongly support this. best idea yet.

Good idea! If paying a Nxt to vote, it could be the first payment utilization of Nxt.
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
January 20, 2014, 06:14:53 PM
 #21334

no need to pay.....many Nxters have only a few Nxt and we want every stakeholder to vote.

How about this - you send NXT to an address to *vote* but at the end of voting the entire balance is then evenly distributed amongst the voting addresses (I guess it does make it worthwhile to vote many times with small accounts but setting that up and sending the votes does still take effort and 1 NXT fee per vote of course)?

If we look at the idea of a "truly democratic" vote you end up with basically the most populist idea winning every time (most people are not smart and will simply vote for what they think is in their best interest).

So I think "as the *next* gen" we should be experimenting with one or more different approaches.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
NxtChg
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 20, 2014, 06:17:50 PM
 #21335

I can do this, give me some time :-) (Later today)

Great! So these are basic requirements:

* List of posts.

* A form to post a new issue to vote, with a text field and URL. Maybe optional deadline.

* Each post can have up to 5 or 10 vote options, similar to forums.

* So several vote options are shown to the user.

* Each "vote" button asks to sign some short random id for this post+option with authorization token (would also be nice to explain how to do it).

* The system then gets user address from API, gets age and balance, checks it and saves in DB, attached to this particular post and vote option.

* Show list of all voters for this post with their votes.

Would be nice if the poster could also define the minimal balance and age required.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
coolmist
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 20, 2014, 06:18:37 PM
 #21336

Wow, it's so great to see the NXT community flourishing. I remember investing in early December when there was almost nothing that had been developed yet.


I'll see what I can do to make a website for voting on a POS system.

Person A will choose a topic to vote on, they will receive a string to paste into the website part of the authtoken form. The auth token will be entered into the website and

auth token will be passed via

Code:
http://localhost:7874/nxt?
     requestType=decodeToken&
     website=WEBSITE&
     token=AUTHSTRING

response

Code:
{
     "account":       "NXTACCOUNT",
     "timestamp":       622,
     "valid":       true
}

if valid is true then

Code:
http://localhost:7874/nxt?
     requestType=getBalance&
     account=ACCOUNT

balance of account will be added into file to selected voted option.
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
January 20, 2014, 06:19:25 PM
 #21337

i strongly support this. best idea yet.

I support it also although I actually would like to see people have to *pay* to vote (as I don't this has really been tried before and could be an interesting experiment).

Think about it - you can "rig" an outcome by burning up your NXT but how many times can you afford to do that?

Perhaps also rather than just having the NXT being used for such a poll being fed back as fees (which an AM approach would do) why not have the accounts be used for something (but not for what they represent so they can't send themselves money to use).


The thing is i think you could afford to do it a great many times if you profited on each exploitation. So if you could spend 10,000 nxt to have 20,000 payed to you, for example out of the 9million unclaimed fund, then you could use that pay out to do it again, and again, and again.

Probably best to have people vote with tokens and give their votes weight proportional to the stake. The advantage here is that whales will care more about the good of the network than profiting off some small time scam. So we can almost certainly count on the whales to vote with everyones best interest at heart.

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
January 20, 2014, 06:22:54 PM
 #21338

Probably best to have people vote with tokens and give their votes weight proportional to the stake. The advantage here is that whales will care more about the good of the network than profiting off some small time scam. So we can almost certainly count on the whales to vote with everyones best interest at heart.

Perhaps the point is that votes need to be not about specific financial benefits for specific entities (making it far harder to ensure your 10K voting investment will give you the 20K bounty).

If you only have say a 1/4 chance of getting the bounty *despite* your investment then would you still take that risk?

(I am talking about adding a random aspect to the final decision - just as it works with Transparent Forging)

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
coolmist
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 20, 2014, 06:25:19 PM
 #21339

Probably best to have people vote with tokens and give their votes weight proportional to the stake. The advantage here is that whales will care more about the good of the network than profiting off some small time scam. So we can almost certainly count on the whales to vote with everyones best interest at heart.

I agree 100%. See my above post  Smiley.
wesleyh
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
January 20, 2014, 06:26:02 PM
 #21340

I can do this, give me some time :-) (Later today)

Great! So these are basic requirements:

* List of posts.

* A form to post a new issue to vote, with a text field and URL. Maybe optional deadline.

* Each post can have up to 5 or 10 vote options, similar to forums.

* So several vote options are shown to the user.

* Each "vote" button asks to sign some short random id for this post+option with authorization token (would also be nice to explain how to do it).

* The system then gets user address from API, gets age and balance, checks it and saves in DB, attached to this particular post and vote option.

* Show list of all voters for this post with their votes.

Would be nice if the poster could also define the minimal balance and age required.


So you wouldn't use AM for this?
Pages: « 1 ... 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 [1067] 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 ... 2557 »
  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!