Bitcoin Forum
May 17, 2026, 02:40:55 AM *
News: Latest Bitcoin Core release: 31.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 6 7 »
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN]LIGHTNINGCASH-GOLD / SCRYPT POW + DARKGRAVITYWAVE + ACCESSIBLE HIVE MINING on: May 25, 2019, 04:13:27 PM
Enjoying the hive mining on this project, active dev and discord, keep it up!
2  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN]LIGHTNINGCASH-GOLD / SCRYPT POW + DARKGRAVITYWAVE + ACCESSIBLE HIVE MINING on: May 22, 2019, 08:21:43 PM
what nodes to add to cfg in wallet for faster sync?

Here's a list of the 50 nodes that are active, it should help.

addnode list:

addnode=157.230.169.163
addnode=86.57.193.186
addnode=203.63.122.18
addnode=66.187.44.33
addnode=73.224.234.220
addnode=45.77.172.147
addnode=198.134.29.119
addnode=73.66.93.70
addnode=90.128.32.74
addnode=94.237.76.240
addnode=82.79.210.47
addnode=89.114.140.0
addnode=192.184.95.133
addnode=149.56.164.197
addnode=94.167.44.218
addnode=208.54.229.200
addnode=67.210.112.82
addnode=98.196.81.6
addnode=67.61.240.229
addnode=24.157.233.107
addnode=14.248.206.28
addnode=94.163.144.13
addnode=5.87.1.204
addnode=173.130.138.246
addnode=90.139.141.26
addnode=173.130.182.214
addnode=5.87.168.204
addnode=62.182.200.123
addnode=94.166.130.242
addnode=201.24.50.57
addnode=24.202.30.104
addnode=5.86.75.86
addnode=94.163.173.17
addnode=160.2.42.238
addnode=94.160.227.102
addnode=72.39.179.47
addnode=94.167.244.251
addnode=5.86.67.101
addnode=178.214.255.109
addnode=94.163.229.55
addnode=217.216.87.78
addnode=179.252.169.43
addnode=5.87.11.3
addnode=94.160.78.95
addnode=34.73.116.124
addnode=94.163.107.164
addnode=94.167.188.203
addnode=85.173.201.34
addnode=31.23.15.13
addnode=94.163.17.150

thx)
3  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN]LIGHTNINGCASH-GOLD / SCRYPT POW + DARKGRAVITYWAVE + ACCESSIBLE HIVE MINING on: May 22, 2019, 08:07:34 PM
what nodes to add to cfg in wallet for faster sync?
4  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 24, 2014, 03:05:41 AM
Report bug...

I have tried to forge with two accounts at the same peer, after ~3 hours, the problem happened.

(Image of my control panel, in Spanish, the getState return.)

There is NOTHING in the logs, indicating that failed.


If only forged an only account, the peer may be undefined online without freezing.

Regards!
5  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 23, 2014, 09:28:44 PM
I have a bug report!

This is happening, since I can remember.

If I unlock an account at the node, the blocks are always kept updated. (0.7.x+)
But if I unlock more than one account, the blocks are retarded and need to restart every 24 hours to be updated.  Angry

I'll make logs, so they can see if something special happens.  Wink

Greetings!
6  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 19, 2014, 09:03:46 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 0.8.11

http://download.nxtcrypto.org/nxt-client-0.8.11.zip

sha256: 7c538041c1c2f07a1eab1f1f88ff0d5d91961e0eac5004520e00585e411e9382

Thanks! Smiley

NXTio.org has been updated to 0.8.11 Wink and forging!!  Cool
7  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 15, 2014, 07:14:02 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 0.8.10

http://download.nxtcrypto.org/nxt-client-0.8.10.zip

sha256: 10dad2cd0fa509a66c86ab3a39c9a702e9a1ded483879708125f5a2540827cfd

Thanks!!

NXTio is now forging with 0.8.10 Smiley
8  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 15, 2014, 06:31:51 PM
In the end, i could not get the "hit" with php, the hash is different, it is impossible. Sad There could be an API to get the hit? Smiley

Hit can be calculated:

getState - to get last block id
getBlock - to get last block generation signature
First 8 bytes in little-endian of SHA256(generationSignature, publicKey) get the hit.

SHA256 php != SHA256 java
http://stackoverflow.com/questions/14475027/unable-to-reproduce-java-messagedigest-hash-in-php

I tried a thousand ways, does not work.
9  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 15, 2014, 03:02:17 AM
there is the getForging API that requires secretPhrase

Has the new version got getNextBlockGenerators?
This is the 0.8.10?

The current does not have Sad

In the end, i could not get the "hit" with php, the hash is different, it is impossible. Sad There could be an API to get the hit? Smiley
10  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 13, 2014, 04:46:40 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Release 0.8.9

http://download.nxtcrypto.org/nxt-client-0.8.9.zip

sha256: fccd8dcb964a357e2f2546aa36dae83df7ff5e623a0dda2351cbe506c139c76d



NXTio updated to 0.8.9! and forge a block 3.00 NXT fee Cheesy

Details: http://www.mynxt.info/blockexplorer/details.php?action=bk&bk=15198513830532576873

http://www.nxtio.org/

Thanks Smiley
11  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 13, 2014, 02:28:55 PM
$deadline = $hit / $baseTarget * $totalEffectiveBalance;

Why totalEffectiveBalance (not effective balance of a particular account)?

What about "(" and ")"? Like $deadline = $hit / ($baseTarget * $totalEffectiveBalance);
Thanks, but neither worked.

I have some simple questions...

1) Calculating the HIT with SHA256(generationSignature, publicKey)...
*) generationSignature of the block - Okey
a) publicKey the "generator" of the block or my account?
b) hash("sha256", hex2bin($generationSignature) . $accountPublicKey); or hash("sha256", hex2bin($generationSignature) . hex2bin($accountPublicKey));

2) $deadline = $hit / ($baseTarget * $totalEffectiveBalance); or $deadline = $hit / ($baseTarget * $effectiveBalance);
a) $totalEffectiveBalance of getState()
b) $effectiveBalance my account (getBalance()).

Thanks!
12  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 13, 2014, 01:51:33 AM
I'm trying to calculate the deadline with php, anyone could give me a hand?

Source:
Code:
print "generationSignature = " . $generationSignature . "<br>";
print "publickey = " . $accountPublicKey . "<br>";
$hit = hash("sha256", hex2bin($generationSignature) . $accountPublicKey);
print "*)hash " . $hit . "<br>";
$hit = substr($hit, 0, 8);
print "*)substr " . $hit . "<br>";
$hit = hexdec($hit);
print "hit = " . $hit . "<br>";
print "baseTarget = " . $baseTarget . "<br>";
print "totalEffectiveBalance = " . $totalEffectiveBalance . "<br>";
$deadline = $hit / $baseTarget * $totalEffectiveBalance;
print "deadline = " . $deadline . "<br>";
$time_elapsed = $actualtime - $blocktime;
print "time_elapsed = " . $time_elapsed . "<br>";
$deadline = $deadline - $time_elapsed;

Output:
Quote
generationSignature = f75276b700cd3f2e6e373114d2ce653da8dbd65700293f5bd75abe906706aa94
publickey = 25ae5107a806e561488394ed5b59916d61c2f0110182e67a1aae19cd6bd86d0e
*)hash c57c55e5c10b4c88dc5aed9780e2a13edae2446a897fe3eb0c67af3f1ab8c145
*)substr c57c55e5
hit = 3313260005
baseTarget = 1118203847
totalEffectiveBalance = 99023301400
deadline = 293407990834.5
time_elapsed = 57


Deadline return: 293407990777 (3395925 days, 19 hours, 39 minutes, 37 seconds)
Real deadline: 10739 (2 hours, 58 minutes, 59 seconds)

any idea where can be the problem? Smiley
13  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 09, 2014, 09:01:19 AM
NXTio.org... waiting confirmations...

Last Forged Blocks
Quote
Block 13850722686913980333 (1.00 NXT) - Remaining 1025 confirmations.
Block 17798388046016202810 (1.00 NXT) - Remaining 1031 confirmations.

Peer forging with 0.8.8 Smiley

______________

There is a new project launched Wink NXTio will grow!
14  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 09, 2014, 06:13:02 AM
I found a very similar template at http://nxtra.org/nxt-client/

http://jumpstartthemes.com/themes/admin-themes/canvas-admin/

Just for curious. xD

15  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 09, 2014, 01:46:58 AM
How to calculate the deadline through APIs?

In the source (Java):
Code:
...
            lastBlocks.put(account, lastBlock);
            hits.put(account, hit);

            long total = hit.divide(BigInteger.valueOf(lastBlock.getBaseTarget()).multiply(BigInteger.valueOf(effectiveBalance))).longValue();
            long elapsed = Convert.getEpochTime() - lastBlock.getTimestamp();

            deadline = Math.max(total - elapsed, 0);
...

With APIs:

1) http://localhost:7876/nxt?requestType=getState
Get the lastBlock and EffectiveBalance of the Network.
2) http://localhost:7876/nxt?requestType=getBalance&account=ACCOUNT
Get the effectiveBalance of the Account.
2) http://localhost:7876/nxt?requestType=getBlock&block=LASTBLOCK
Get the baseTarget and timestamp of the Block.
3) Formula deadline: ¿?

Any help? Smiley
16  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 08, 2014, 07:50:56 PM
Hello, I think I is necessary a new API getDeadline(Account) to be used instead of doing all the time "getForging(secretPhrase)".
Is not good to be all the time sending the secretPhrase, just to get the deadline.

I have not reviewed java code but if we can t send passphrase each time that would be great

This is similar to a conversation i had with Panda about something he was doing.

Why can't a client generate a token using the secret phrase using a component of the request - it could be <current time> or anything.
The server can decode the token to authenticate the request came from the account owner - we know this as requestType=decodeToken exists.

So I don't see the need to ever send the secret phrase when you could send a token, which could even be based on the whole request string...

Dont understand why it was ever developed so the secret phrase is sent for a stateless (i.e. non session based) request.

Totally chanc3r Wink

Hello, I think I is necessary a new API getDeadline(Account) to be used instead of doing all the time "getForging(secretPhrase)".
Is not good to be all the time sending the secretPhrase, just to get the deadline.

You are only interested in the deadline if you are interested in forging. So the descision you have to make is "Is it safe to send the secret to the node I am connected to?". It doesn't matter how often you want to send the secret only if.

Apart from that: You can calculate the deadline yourself with the totalEffectiveBalance from getState:

chance_to_forge = AccountEffectiveBalance / totalEffectiveBalance.Value * 100


Thank you very much! did not know. Grin
The value of the result of this formula returns the correct deadline? like the original function?
17  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 08, 2014, 03:54:27 PM
Hello, I think I is necessary a new API getDeadline(Account) to be used instead of doing all the time "getForging(secretPhrase)".
Is not good to be all the time sending the secretPhrase, just to get the deadline.

Nearly no difference between getForging(secretPhrase) and startForging(secretPhrase), both are "secretPhrase" not safe.

Code:
public final class StartForging extends APIServlet.APIRequestHandler {

    static final StartForging instance = new StartForging();

    private StartForging() {}

    @Override
    JSONStreamAware processRequest(HttpServletRequest req) {

        String secretPhrase = req.getParameter("secretPhrase");
        if (secretPhrase == null) {
            return MISSING_SECRET_PHRASE;
        }

        Generator generator = Generator.startForging(secretPhrase);
        if (generator == null) {
            return UNKNOWN_ACCOUNT;
        }

        JSONObject response = new JSONObject();
        response.put("deadline", generator.getDeadline());
        return response;

    }

    @Override
    boolean requirePost() {
        return true;
    }

}

Code:
public final class GetForging extends APIServlet.APIRequestHandler {

    static final GetForging instance = new GetForging();

    private GetForging() {}

    @Override
    JSONStreamAware processRequest(HttpServletRequest req) {

        String secretPhrase = req.getParameter("secretPhrase");
        if (secretPhrase == null) {
            return MISSING_SECRET_PHRASE;
        }
        Account account = Account.getAccount(Crypto.getPublicKey(secretPhrase));
        if (account == null) {
            return UNKNOWN_ACCOUNT;
        }

        Generator generator = Generator.getGenerator(secretPhrase);
        if (generator == null) {
            return NOT_FORGING;
        }

        JSONObject response = new JSONObject();
        response.put("deadline", generator.getDeadline());
        return response;

    }

    @Override
    boolean requirePost() {
        return true;
    }

}

They could do something more simple? Smiley
or is the only way?
18  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 07, 2014, 01:56:01 PM


Someone else noticed?  Grin


NXTio updated to 0.8.8! Smiley

Vote for my in NXTinfrastructure Committee!!
https://www.electionbuddy.com/elections/12343/results/t34ayqhm2
19  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 07, 2014, 03:02:24 AM
10000 NXT BOUNTY for google authenticator help


I am announcing a 10000 NXT bounty for someone to help me integrate google authenticator to the gateway. It will be paid when the gateway passes the community created test plan for multigateway.

I need someone that can do the webpages needed for account # and token input and the server side code that properly correlates that. along with whatever other help I need. Especially making sure the process is secure.

James

Edit: I hope somebody knows where to update the list of bounties and will do so
I do not understand the bounty.
But I've programmed several times (after each change of API), Google Login code.
Does that serve you?
20  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: March 06, 2014, 08:36:41 PM
NXTio peer has been updated to 0.8.7!!

http://www.nxtio.org/

I'm working on a new platform for decentralized forge. Grin



Do not forget to vote for me, ^[GS]^, to NXTinfrastructure Committee Wink

https://www.electionbuddy.com/elections/12343/results/t34ayqhm2
Pages: [1] 2 3 4 5 6 7 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!