marcus03
|
|
February 18, 2014, 06:28:08 AM |
|
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=masterSearch for GetBytes() and you'll see how the different fields of a transaction make up the binary representation.
|
|
|
|
marcus03
|
|
February 18, 2014, 06:31:02 AM |
|
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
|
|
February 18, 2014, 06:32:24 AM |
|
for (w = 0, i = 0; i < 32; i++) w |= v[i] = tmp1[i];
Is my pascal version correct? 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 ...) 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 Thanks for the review! Yes, pascal arrays are 0-based. :-)
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
February 18, 2014, 06:35:19 AM |
|
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.
|
|
|
|
Coinonaer
|
|
February 18, 2014, 06:42:24 AM |
|
Brilliant idea James. Like the concept very much!
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
February 18, 2014, 06:55:58 AM |
|
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
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 18, 2014, 06:58:03 AM |
|
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
|
|
February 18, 2014, 07:17:20 AM |
|
It was a bright cold day in April, and the clocks were striking thirteen
42 days remaining
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
February 18, 2014, 07:22:39 AM |
|
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
|
|
|
|
abctc
Legendary
Offline
Activity: 1792
Merit: 1038
|
|
February 18, 2014, 07:25:21 AM |
|
... 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
Activity: 364
Merit: 250
☕ NXT-4BTE-8Y4K-CDS2-6TB82
|
|
February 18, 2014, 07:27:10 AM Last edit: February 18, 2014, 07:44:59 AM by ChuckOne |
|
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
Activity: 1792
Merit: 1038
|
|
February 18, 2014, 07:31:46 AM |
|
[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
|
|
February 18, 2014, 07:37:00 AM |
|
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
|
|
February 18, 2014, 07:44:53 AM |
|
[TEST RELEASE OF NODECOIN MINER]
Very nice!
|
|
|
|
MyZhre
|
|
February 18, 2014, 07:45:32 AM Last edit: February 18, 2014, 08:04:18 AM by MyZhre |
|
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 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
Activity: 1792
Merit: 1038
|
|
February 18, 2014, 07:47:24 AM |
|
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
|
|
February 18, 2014, 07:50:31 AM |
|
[TEST RELEASE OF NODECOIN MINER]
Very inspiring, nice work!
|
NXT: 13095091276527367030
|
|
|
bitcoinpaul
|
|
February 18, 2014, 07:52:28 AM |
|
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.
|
|
|
|
swartzfeger
|
|
February 18, 2014, 07:56:36 AM |
|
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 I'm having a heck of a time running this from the terminal. Do I need to put this in /bin and then type ./nodeminder <acct>?
|
|
|
|
MyZhre
|
|
February 18, 2014, 07:58:27 AM |
|
I'm having a heck of a time running this from the terminal. Do I need to put this in /bin and then type ./nodeminder <acct>?
Just simple ./nodeminer xxxxx
|
NXT: 13997163105778396158
|
|
|
|