Author

Topic: NXT :: descendant of Bitcoin - Updated Information - page 999. (Read 2761642 times)

legendary
Activity: 2142
Merit: 1010
Newbie

blockchain explorer node 87.230.14.1 still runs on 0.5.11

does this effect the blockchain explorer?

No, if it sees 0.6.0+ nodes.

I'm talking about that critical bug. It still could end following another branch due to other changes.
full member
Activity: 266
Merit: 100
NXT is the future

blockchain explorer node 87.230.14.1 still runs on 0.5.11

does this effect the blockchain explorer?
legendary
Activity: 2142
Merit: 1010
Newbie
On the 11th of Feb we r launching public test of Asset Exchange. Do we have at least 1 client ready for that? What platforms does it support?
legendary
Activity: 2142
Merit: 1010
Newbie
How does one sign a transaction on the client side instead of sending the password in the clear to the server? Any info on this?

I'm working on this. The workflow will look like:

1. U use prepareTransaction API call that returns raw bytes
2. U sign the bytes and inject the signature into them
3. U use broadcastTransaction to send the transaction
hero member
Activity: 644
Merit: 500



Introducing tipNXT.com

With tipNXT.com you can tip any Nxt user worldwide!

I hope that this service will be used often! Thank you very much.


I don't get it. Why would I want to use this, enter my account secret via non-SSL, when I can tip an account with any client?


Somebody would have to be f@#King insane to use this service.  Hey, nothing personal, Passion_ltc !

Things like this require local signing and only the signed transaction then is broadcast to the server.

 We need more  software (local clients, javascript code) that the websites like the above can use where user signs the transaction on his own machine.

Now instead of wasting "bounties" and time on insecure voodoo ideas like plugins, scripting VM, this is something that is really useful. Basically it would mean you can connect to any online server/service (like tipNXT.com) and use it safely as you will never broadcast your password over the internet.

Where is the bounty on that?

This should have 100K+ bounty and it should be implemented in such a way that any site or client can use it.

newbie
Activity: 56
Merit: 0
Passion_LTC, for there to be a remote chance in hell of people entering their password on your site you need ssl and client side asymmetric encryption with secure server side decryption.

Code:


function RSAKeyPair(encryptionExponent, decryptionExponent, modulus)
{
this.e = biFromHex(encryptionExponent);
this.d = biFromHex(decryptionExponent);
this.m = biFromHex(modulus);

this.chunkSize = 2 * biHighIndex(this.m);
this.radix = 16;
this.barrett = new BarrettMu(this.m);
}

function twoDigit(n)
{
return (n < 10 ? "0" : "") + String(n);
}

function encryptedString(key, s)
{
var a = new Array();
var sl = s.length;
var i = 0;
while (i < sl) {
a[i] = s.charCodeAt(i);
i++;
}

while (a.length % key.chunkSize != 0) {
a[i++] = 0;
}

var al = a.length;
var result = "";
var j, k, block;
for (i = 0; i < al; i += key.chunkSize) {
block = new BigInt();
j = 0;
for (k = i; k < i + key.chunkSize; ++j) {
block.digits[j] = a[k++];
block.digits[j] += a[k++] << 8;
}
var crypt = key.barrett.powMod(block, key.e);
var text = key.radix == 16 ? biToHex(crypt) : biToString(crypt, key.radix);
result += text + " ";
}
return result.substring(0, result.length - 1); // Remove last space.
}

function decryptedString(key, s)
{
var blocks = s.split(" ");
var result = "";
var i, j, block;
for (i = 0; i < blocks.length; ++i) {
var bi;
if (key.radix == 16) {
bi = biFromHex(blocks[i]);
}
else {
bi = biFromString(blocks[i], key.radix);
}
block = key.barrett.powMod(bi, key.d);
for (j = 0; j <= biHighIndex(block); ++j) {
result += String.fromCharCode(block.digits[j] & 255,
                             block.digits[j] >> 8);
}
}

if (result.charCodeAt(result.length - 1) == 0) {
result = result.substring(0, result.length - 1);
}
return result;
}

Code:
function BarrettMu(m)
{
this.modulus = biCopy(m);
this.k = biHighIndex(this.modulus) + 1;
var b2k = new BigInt();
b2k.digits[2 * this.k] = 1; // b2k = b^(2k)
this.mu = biDivide(b2k, this.modulus);
this.bkplus1 = new BigInt();
this.bkplus1.digits[this.k + 1] = 1; // bkplus1 = b^(k+1)
this.modulo = BarrettMu_modulo;
this.multiplyMod = BarrettMu_multiplyMod;
this.powMod = BarrettMu_powMod;
}

function BarrettMu_modulo(x)
{
var q1 = biDivideByRadixPower(x, this.k - 1);
var q2 = biMultiply(q1, this.mu);
var q3 = biDivideByRadixPower(q2, this.k + 1);
var r1 = biModuloByRadixPower(x, this.k + 1);
var r2term = biMultiply(q3, this.modulus);
var r2 = biModuloByRadixPower(r2term, this.k + 1);
var r = biSubtract(r1, r2);
if (r.isNeg) {
r = biAdd(r, this.bkplus1);
}
var rgtem = biCompare(r, this.modulus) >= 0;
while (rgtem) {
r = biSubtract(r, this.modulus);
rgtem = biCompare(r, this.modulus) >= 0;
}
return r;
}

function BarrettMu_multiplyMod(x, y)
{
/*
x = this.modulo(x);
y = this.modulo(y);
*/
var xy = biMultiply(x, y);
return this.modulo(xy);
}

function BarrettMu_powMod(x, y)
{
var result = new BigInt();
result.digits[0] = 1;
var a = x;
var k = y;
while (true) {
if ((k.digits[0] & 1) != 0) result = this.multiplyMod(result, a);
k = biShiftRight(k, 1);
if (k.digits[0] == 0 && biHighIndex(k) == 0) break;
a = this.multiplyMod(a, a);
}
return result;
}
Code:
function RSAKeyPair(encryptionExponent, decryptionExponent, modulus)
{
this.e = biFromHex(encryptionExponent);
this.d = biFromHex(decryptionExponent);
this.m = biFromHex(modulus);

this.chunkSize = 2 * biHighIndex(this.m);
this.radix = 16;
this.barrett = new BarrettMu(this.m);
}

function twoDigit(n)
{
return (n < 10 ? "0" : "") + String(n);
}

function encryptedString(key, s)

{
var a = new Array();
var sl = s.length;
var i = 0;
while (i < sl) {
a[i] = s.charCodeAt(i);
i++;
}

while (a.length % key.chunkSize != 0) {
a[i++] = 0;
}

var al = a.length;
var result = "";
var j, k, block;
for (i = 0; i < al; i += key.chunkSize) {
block = new BigInt();
j = 0;
for (k = i; k < i + key.chunkSize; ++j) {
block.digits[j] = a[k++];
block.digits[j] += a[k++] << 8;
}
var crypt = key.barrett.powMod(block, key.e);
var text = key.radix == 16 ? biToHex(crypt) : biToString(crypt, key.radix);
result += text + " ";
}
return result.substring(0, result.length - 1); // Remove last space.
}

function decryptedString(key, s)
{
var blocks = s.split(" ");
var result = "";
var i, j, block;
for (i = 0; i < blocks.length; ++i) {
var bi;
if (key.radix == 16) {
bi = biFromHex(blocks[i]);
}
else {
bi = biFromString(blocks[i], key.radix);
}
block = key.barrett.powMod(bi, key.d);
for (j = 0; j <= biHighIndex(block); ++j) {
result += String.fromCharCode(block.digits[j] & 255,
                             block.digits[j] >> 8);
}
}
// Remove trailing null, if any.
if (result.charCodeAt(result.length - 1) == 0) {
result = result.substring(0, result.length - 1);
}
return result;
}
sr. member
Activity: 308
Merit: 250
How does one sign a transaction on the client side instead of sending the password in the clear to the server? Any info on this?
sr. member
Activity: 392
Merit: 250
Yeah but i want to know what produce this issue

Orphaned blocks for example.

Ok thanks! After that i have to delete blocks.nxt and transactions.nxt Sad
No, you shouldn't have to. Popping off a block or a few blocks is common and normal.
full member
Activity: 184
Merit: 100
chess tourney for Nxt is about to start.
join
http://www.freechess.org/Events/NXT/
legendary
Activity: 1470
Merit: 1004
I don't understand your issue with this, its another feature that adds value to Nxt.  Is it personally affecting you in some way?  Try to be more constructive, Passion_ltc is a valued member of the community and he's built some great products so far.

Some nice centralized based-on-trust feature? Exactly what I want to see in Nxt. Give me 2 of them

Okay, 2 coming right up!
hero member
Activity: 714
Merit: 500
Crypti Community Manager



Introducing tipNXT.com

With tipNXT.com you can tip any Nxt user worldwide!

I hope that this service will be used often! Thank you very much.


I don't get it. Why would I want to use this, enter my account secret via non-SSL, when I can tip an account with any client?


Somebody would have to be f@#King insane to use this service.  Hey, nothing personal, Passion_ltc !

Exactly my thoughts, nothing against the enthusiasm but this service makes no other sense than as account password collector.
You don't have to use it with your big NXT accounts. Maybe create a tip account with a few NXT inside.

A tip is more of a 1-100 NXT donation. No big movements. Wink


I added a list with a few contributors. You can see it if you click on "VIPs" in the navigation.
legendary
Activity: 1120
Merit: 1000
You know you've hit the big league when NXT is being promoted by Leon Kung Fu and Tai Tranquill Zen.

Just watched all the videos - good job, the world needs more of this.
full member
Activity: 157
Merit: 100



Introducing tipNXT.com

With tipNXT.com you can tip any Nxt user worldwide!

I hope that this service will be used often! Thank you very much.


I don't get it. Why would I want to use this, enter my account secret via non-SSL, when I can tip an account with any client?


Somebody would have to be f@#King insane to use this service.  Hey, nothing personal, Passion_ltc !

Exactly my thoughts, nothing against the enthusiasm but this service makes no other sense than as account password collector.
full member
Activity: 196
Merit: 100



Introducing tipNXT.com

With tipNXT.com you can tip any Nxt user worldwide!

I hope that this service will be used often! Thank you very much.


I don't get it. Why would I want to use this, enter my account secret via non-SSL, when I can tip an account with any client?


Somebody would have to be f@#King insane to use this service.  Hey, nothing personal, Passion_ltc !
sr. member
Activity: 294
Merit: 250
Yeah but i want to know what produce this issue

Orphaned blocks for example.

Ok thanks! After that i have to delete blocks.nxt and transactions.nxt Sad
legendary
Activity: 2142
Merit: 1010
Newbie
Yeah but i want to know what produce this issue

Orphaned blocks for example.
sr. member
Activity: 294
Merit: 250
NRS 0.6.1:

DEBUG: Reversal of alias assignment not supported


What does it mean?

It means that reversal of alias assignment not supported and blockchain will be re-rolled.

Yeah but i want to know what produce this issue
newbie
Activity: 56
Merit: 0

Which clients are also forging when used? is NRS the only one, and when its gone how will forging go?



dotNXT does
legendary
Activity: 2142
Merit: 1010
Newbie
NRS 0.6.1:

DEBUG: Reversal of alias assignment not supported


What does it mean?

It means that reversal of alias assignment not supported and blockchain will be re-rolled.
sr. member
Activity: 294
Merit: 250
NRS 0.6.1:

DEBUG: Reversal of alias assignment not supported


What does it mean?
Jump to: