Bitcoin Forum
September 23, 2019, 09:20:42 PM *
News: If you like a topic and you see an orange "bump" link, click it. More info.
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 [1749] 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 ... 2567 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2756163 times)
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1090


View Profile WWW
February 18, 2014, 06:17:48 AM
 #34961

[TEST RELEASE OF NODECOIN MINER]

Any solutions for those not comfortable compiling, using command line tools etc?

edit: I ask because I just discovered Xcode 5 no longer includes GCC.
it should work with most compilers, but I made compiled versions:

Ubuntu version: http://209.126.71.170/ubuntu/nodeminer md5 e5e7b827e86b92168a28d33fcb6ea1ce
Mac version http://209.126.71.170/mac/nodeminer md5 b5f52738f6b42378d76f90a8a1902253

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
1569273642
Hero Member
*
Offline Offline

Posts: 1569273642

View Profile Personal Message (Offline)

Ignore
1569273642
Reply with quote  #2

1569273642
Report to moderator
1569273642
Hero Member
*
Offline Offline

Posts: 1569273642

View Profile Personal Message (Offline)

Ignore
1569273642
Reply with quote  #2

1569273642
Report to moderator
PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1090


View Profile WWW
February 18, 2014, 06:21:29 AM
 #34962

[TEST RELEASE OF NODECOIN MINER]

I did a quick proof of concept NXTcoin today. The coin is actually a NXT AE Asset called "nodecoin", there are 1 billion nodecoins. I made a nodeminer that has been tested on Mac and Linux, no guarantees on Windows. It is is pretty portable C in a self-contained file, so there is a decent chance it will compile under Windows. Let me know if you get it ported to Windows.

OK, so nodecoin was a great idea from Mises_77 yesterday. It inspired me to do some programming and I took a lot of shortcuts. No complaining about lack of features, it is less than 12 hours old!

How does it work? You simply run nodeminer from the command line with your NXT acct id. It does not needs your passkey. For now it is hardcoded to testnet and has a very fast cycle time of 10 seconds. Every 10 seconds that you are forging, 1 nodecoin is "created". However, I was lazy and didnt bother to keep track of who forged which coins, and I certainly didnt database the incoming info. I just add up everyone's total into unclaimed nodecoins. If you are forging, you will be able to see the total unclaimed nodecoins.

Now comes the fun part. ANYBODY can claim all the unclaimed nodecoins by sending in 1 NXT!!

Of course, if there is more than 1 bidder, then the highest bidder wins. I would like to test higher load scenarios, so the more people that test it, the better.

There will be a contest. The one who has the most nodecoins in about 48 hours, will win a 1000 NXT bounty.  Please report any fatal bugs.

build with: gcc -o nodeminer nodeminer.c -lcurl
run with: ./nodeminder <NXT ACCT NUMBER>

James

Code:
// Totally self-cointained nodecoin miner: nodeminer.c
// by jl777




James, output from windows...

not sure if it is working as expected...
I think I messed up the running version when compiling new versions. I am getting same error. Let me fix it.


http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
marcus03
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
February 18, 2014, 06:28:08 AM
 #34963

CfB,

Is there a definition of the bytes in a transaction? I am trying to figure out which ones are AM and which ones are not.
I thought maybe doing a getTransaction call would return what type of transaction it is, but it doesnt seem to.

Where can we get a reference on decoding the bytes of a getTransactionBytes API call?  And is there anyway to get the bytes for an entire block?  Id really like to learn more about the bits/bytes of NXT, can someone point me in the right direction as far as decoding the blockchain?

I don't know where this is in the Java code, but minusbalancer C# implementation has this here:

https://bitbucket.org/minusbalancer/dotnxt-core/src/13e9648c7cdba58cd8eef673375e117598d2dc34/Transaction.cs?at=master

Search for GetBytes() and you'll see how the different fields of a transaction make up the binary representation.
marcus03
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
February 18, 2014, 06:31:02 AM
 #34964

do you need nrs open in order to use solaris??

Yes, you need access to a running instance of NRS, either locally or a trusted (its sends account secrets over http(s)) NRS on a remote server.
marcus03
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
February 18, 2014, 06:32:24 AM
 #34965

Code:
for (w = 0, i = 0; i < 32; i++)
w |= v[i] = tmp1[i];

Is my pascal version correct?

Code:
w:=0;
for i:=0 to 31 do
begin
  v[i]:= tmp1[i];
  w:=w OR v[i];
end;


What exactly is the "if (i==0) { i=0;}" supposed to do???


looks fine, but are you sure your Pascal compiler supports 0 as an array index?
(Can't remember if the starting index could be set ...)


Quote
What exactly is the "if (i==0) { i=0;}" supposed to do???


that looks like a place for a "conditional" breakpoint for debugging ...  unless someone had wanted to adjust some timing in the loop Wink


Thanks for the review!

Yes, pascal arrays are 0-based. :-)
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1090


View Profile WWW
February 18, 2014, 06:35:19 AM
 #34966

Whoever has testnet acct 8045498363545361273, I am seeing the pings on my server. You are probably running ubuntu?
It seems there are some problems with Windows and maybe even Mac.

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
Coinonaer
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
February 18, 2014, 06:42:24 AM
 #34967

Brilliant idea James. Like the concept very much!
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1090


View Profile WWW
February 18, 2014, 06:55:58 AM
 #34968

Whoever has testnet acct 8045498363545361273, I am seeing the pings on my server. You are probably running ubuntu?
It seems there are some problems with Windows and maybe even Mac.
OK, it was a server side problem. I got it working on Mac, but I cant test on windows. I was seeing the same error on the Mac, so maybe it works on Windows now. I am not sure how many requests the server side can handle, it was designed for LAN, not for large number of simultaneous connections. If it dies while I am sleeping, as long as the nodeminer is running, you wont lose the nodecoins.

James

Edit: I am seeing 13997163105778396158 and 8045498363545361273 now. Can either of you test to see if you get the nodecoin Asset after sending in 1 NXT to the nodecoin server acct 18232225178877143084. Please report if you get the coins. It will happen on the next block after the block with the payment

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2128
Merit: 1009

Newbie


View Profile
February 18, 2014, 06:58:03 AM
 #34969

We did the work you guys asked for at the Miami Bitcoin Conference, now it's time to give the companies exactly what they want from us. So far we have:

- Large marketing budget
- Green (socially responsible)
- New code -- any case a flaw is found in Bitcoin
- Extremely low transaction fees
- Marketing team willing to work with merchants

** For example, we could organize a 30 day swarm push to help attract merchants to the payment processor. Now, that would be a benefit.

What else? What makes us business friendly? What do ** WE ** bring to the table for a payment processor?  Why would it be a mistake NOT to add us?

Cfb just mentioned all POS would die except NXT because NXT can resist 90% attack.

That was a troll post with a reference to a paper full of BS. Don't worry about other PoS-coins.
Labteck
Sr. Member
****
Offline Offline

Activity: 311
Merit: 250


View Profile
February 18, 2014, 07:17:20 AM
 #34970

It was a bright cold day in April, and the clocks were striking thirteen

42 days remaining

▄████████████████████████████████████████████████████████▄
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
████████████████████  █████████████████████████████████████
███████████████████  ██████████████████████████████████████
██████████████████  ███████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
 ▀███████████████████████████████████████████████████████▀
       VIORCOIN[by_conty] ▄████████████████████████████████████████████████████████▄
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
████████████████████  █████████████████████████████████████
███████████████████  ██████████████████████████████████████
██████████████████  ███████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████
 ▀███████████████████████████████████████████████████████▀
        Make International Calls
      Cheap and More Secure
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1090


View Profile WWW
February 18, 2014, 07:22:39 AM
 #34971

There seems to be some server side instability. I put it on a 30 minute timer, so at least it wont be stuck for too long. No guarantees on stability, but hopefully we can see the asset transfers being triggered by payments.

Oh, on the 30 minute reboot, all the coins will be lost, so best to bid before that happens.

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
abctc
Legendary
*
Offline Offline

Activity: 1666
Merit: 1004



View Profile
February 18, 2014, 07:25:21 AM
 #34972

...
We have lots of domains already, why should we spent so much money to buy another one?
+1.
We have nxtcrypto.org, it is very nice domain. No need to spend millions of NXTs on the next one, better put that funds into development.

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

Activity: 364
Merit: 250

☕ NXT-4BTE-8Y4K-CDS2-6TB82


View Profile
February 18, 2014, 07:27:10 AM
Last edit: February 18, 2014, 07:44:59 AM by ChuckOne
 #34973

Subtract all of the targets on chain a, subtract all of the targets on chain b, see which number is larger.
Subtract from what?

technically it doesn't matter but probably zero would be the most strait forward.

Err, so what about summing them up and see what number is smaller? Sounds easier to explain to most people.

CfB said the next block will decide; still waiting for the how.

According to Wiki TF decides the next forger dependent on the previous block. So, if there is a partition of the network N1 and N2, then the nodes in these two different partitions have different TF outputs.

So, there are two cases: (next blocks/accounts are C, C' (part of N1) and D (part of N2); TF1 and TF2 are the output of TF of N1 and N2 respectively)
1) TF1 says C; TF2 says D => branches will get longer as foreign blocks get rejected
2) TF1 says C; TF2 says C' => C will get accepted; C' will get rejected as N1 expects C => What does N2? I would say: penalize C', ignore C and move on on its branch.

Still don't see how this conflict can be resolved. I need some idea for that.
abctc
Legendary
*
Offline Offline

Activity: 1666
Merit: 1004



View Profile
February 18, 2014, 07:31:46 AM
 #34974

[TEST RELEASE OF NODECOIN MINER]

I did a quick proof of concept NXTcoin today.

- great effort, James!  Thank you very much!  Will try your nodeminer.

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

Activity: 910
Merit: 1000



View Profile
February 18, 2014, 07:37:00 AM
 #34975

They'll add it when the market demands it.  There's nothing in it for them right now.  It's too soon, and your question is therefore rhetorical.

IMHO, this is the wrong horse to chase right now, but thank you for your persistence and attention.  Build more market momentum for Nxt FIRST, and then ZipZap and GoCoin will see value and fight to add integration.  For example, support Damelon's open-source payment module project.  Once it's finished and a market is created for payment processing, go back to them and do one of two things: offer to help them integrate that system into theirs, OR suggest that they should jump in to become a market leader.  IN the meantime, keep in touch and update them on the growth of Nxt.  Build the RELATIONSHIP.  You can leverage it later.

+1
bitcoinpaul
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
February 18, 2014, 07:44:53 AM
 #34976

[TEST RELEASE OF NODECOIN MINER]

Very nice!
MyZhre
Full Member
***
Offline Offline

Activity: 193
Merit: 100



View Profile
February 18, 2014, 07:45:32 AM
Last edit: February 18, 2014, 08:04:18 AM by MyZhre
 #34977

Edit: I am seeing 13997163105778396158 and 8045498363545361273 now. Can either of you test to see if you get the nodecoin Asset after sending in 1 NXT to the nodecoin server acct 18232225178877143084. Please report if you get the coins. It will happen on the next block after the block with the payment

I run nodminer with account 11655792499041825006, nodminer show I have 73.0 unclaimed coin,  but after i sent 1 nxt to the server, server gave me 10000 nodcoins,
miscalculate?

EDIT: sorry, my misunderstand. this is the fun part  Smiley
EDIT: I didn't recv 10000 nodcoin, its actually 99 after I claim again, looks like the online wallet have some bug here.

NXT: 13997163105778396158
abctc
Legendary
*
Offline Offline

Activity: 1666
Merit: 1004



View Profile
February 18, 2014, 07:47:24 AM
 #34978

But are we really looking to be a Point of Sale coin? It's not divisible like BTC will be, so its not suitable for micropayments
- no, Nxt will suit for micropayments:

It turns out the transition to fractional amounts, which is required for reducing the minimum fee, will not be that simple. It would require adding a new transaction type, because the current ordinary payment transaction stores amounts and fees with 1 NXT precision, not multiplied by 100 as in the account balance. So it will take longer to implement and test. The positive side is that while doing that we can make the fractional part allow amounts much lower than 0.01, so we will achieve much higher divisibility.

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

Activity: 224
Merit: 100


View Profile
February 18, 2014, 07:50:31 AM
 #34979

[TEST RELEASE OF NODECOIN MINER]

Very inspiring, nice work!

NXT: 13095091276527367030
bitcoinpaul
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
February 18, 2014, 07:52:28 AM
 #34980

BCNext's plan for nxt is not to be a currency but instead the coins ON TOP of nxt should be. I say give Nxt high divisibility (in the future), reduce fees and see what the market will do with it. I want opinions.
Pages: « 1 ... 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 [1749] 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 ... 2567 »
  Print  
 
Jump to:  

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!