Bitcoin Forum
April 26, 2024, 09:29:51 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 [103] 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 ... 385 »
  Print  
Author Topic: Nexus - Pure SHA3 + CPU/GPU + nPoS + 15 Active Innovations + More to Come  (Read 785444 times)
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
January 16, 2015, 07:34:21 PM
 #2041

Blocks produced by older wallets past time lock will be rejected - so essentially 1.0.1 and earlier wallets will become obsolete at Unix Timestamp: 1421949600.

Here is a link with time-zones: http://www.epochconverter.com/epoch/timezones.php?epoch=1421949600
Update is looking very nice on Debug LLP - I love real-time monitoring  Smiley

Thank You,
Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
1714166991
Hero Member
*
Offline Offline

Posts: 1714166991

View Profile Personal Message (Offline)

Ignore
1714166991
Reply with quote  #2

1714166991
Report to moderator
1714166991
Hero Member
*
Offline Offline

Posts: 1714166991

View Profile Personal Message (Offline)

Ignore
1714166991
Reply with quote  #2

1714166991
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714166991
Hero Member
*
Offline Offline

Posts: 1714166991

View Profile Personal Message (Offline)

Ignore
1714166991
Reply with quote  #2

1714166991
Report to moderator
1714166991
Hero Member
*
Offline Offline

Posts: 1714166991

View Profile Personal Message (Offline)

Ignore
1714166991
Reply with quote  #2

1714166991
Report to moderator
cbuchner1
Hero Member
*****
Offline Offline

Activity: 756
Merit: 502


View Profile
January 16, 2015, 07:47:18 PM
Last edit: January 16, 2015, 08:25:41 PM by cbuchner1
 #2042

I am a little worried about that debug LLP. Does it allow remote access to any full node?

Is it guaranteed there are no exploits (buffer overflows) in that code which would allow
a skilled attacker to compromise running nodes (and for example steal wallet.dat files
of various crypto currencies that happen to also run on said node)

Christian


Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
January 16, 2015, 08:39:31 PM
Last edit: January 17, 2015, 06:38:10 AM by Videlicet
 #2043

I am a little worried about that debug LLP. Does it allow remote access to any full node?

Not at all, here for your peace of mind I'll provide the code:

debug.cpp
Code:
#include "../LLP/client.h"

namespace LLP
{

/** Hard - coded Address and Port of Debug Server. **/
static const std::string DEBUG_IP   = "208.94.247.42";
static const std::string DEBUG_PORT = "9965";

/** Class to Wrap LLP for Interpreting Debug LLP **/
class DebugClient : public Outbound
{
public:
DebugClient() : Outbound(DEBUG_IP, DEBUG_PORT){ }

enum
{
DEBUG_DATA    = 0,
GENERIC_DATA  = 1,

PING          = 254,
CLOSE         = 255
};

/** Create a new Packet to Send. **/
inline Packet GetPacket(unsigned char HEADER)
{
Packet PACKET;
PACKET.HEADER = HEADER;
return PACKET;
}

/** Ping the Debug Server. **/
inline void Ping()
{
Packet PACKET = GetPacket(PING);
this->WritePacket(PACKET);
}

/** Send Data to Debug Server. **/
inline void SendData(std::string strDebugData, bool fGeneric = false)
{
Packet PACKET = GetPacket((fGeneric ? GENERIC_DATA : DEBUG_DATA));
PACKET.DATA   = string2bytes(strDebugData);
PACKET.LENGTH = PACKET.DATA.size();

this->WritePacket(PACKET);
}
};
}

/** Thread to handle Debugging Server Reporting. **/
void DebugThread(void* parg)
{
LLP::DebugClient* CLIENT = new LLP::DebugClient();

/** Clear the Debug Data from Core Initialization. **/
DEBUGGING_MUTEX.lock();
DEBUGGING_OUTPUT.clear();
DEBUGGING_MUTEX.unlock();

printf("[DEBUG] Debugging Thread Started.\n");
while(true)
{
try
{
/** Run this thread slowly. **/
Sleep(1000);

if(!CLIENT->Connected() || CLIENT->Errors())
{

/** Try and Reconnect every 10 Seconds if Failed. **/
if(!CLIENT->Connect())
{
Sleep(10000);

continue;
}

printf("[DEBUG] Connection Established to Debugging Server.\n");
}

if(CLIENT->Timeout(15))
CLIENT->Ping();

if(DEBUGGING_OUTPUT.empty())
continue;


/** Send the Data in the Queue to Debug Server **/
DEBUGGING_MUTEX.lock();
for(int nIndex = 0; nIndex < DEBUGGING_OUTPUT.size(); nIndex++ )
CLIENT->SendData(DEBUGGING_OUTPUT[nIndex].second, DEBUGGING_OUTPUT[nIndex].first);

DEBUGGING_OUTPUT.clear();
DEBUGGING_MUTEX.unlock();
}
catch(std::exception& e){}
}
}


The print function in util.cpp that sends debug data to debug thread:
Code:
namespace Core { bool IsInitialBlockDownload(); }

boost::mutex DEBUGGING_MUTEX;
std::vector<std::pair<bool, std::string> > DEBUGGING_OUTPUT;
void debug_server(string strOutput, bool fGeneric)
{
    DEBUGGING_MUTEX.lock();

/** Omit Generic Data on Initial Block Download. **/
if((!Core::IsInitialBlockDownload() && !fTestNet) || (Core::IsInitialBlockDownload() && !fGeneric && !fTestNet))
DEBUGGING_OUTPUT.push_back(make_pair(fGeneric, strOutput));

printf("%s", strOutput.c_str());

DEBUGGING_MUTEX.unlock();
}

The print macros in util.h
Code:
/** Global List for Debugging Output. **/
extern boost::mutex DEBUGGING_MUTEX;
extern std::vector<std::pair<bool, std::string> > DEBUGGING_OUTPUT;

std::string real_strprintf(const std::string &format, int dummy, ...);
void debug_server(std::string strOutput, bool fGeneric);
void DebugThread(void* parg);

#define printd(format, ...) debug_server(real_strprintf(format, 0, __VA_ARGS__), 0)
#define printg(format, ...) debug_server(real_strprintf(format, 0, __VA_ARGS__), 1)

This enables me to report errors such as in the function error in util.cpp:
Code:
printd("ERROR: %s\n", buffer);

And generic data such as reserve amounts.
Code:
printg("Reserve Balance %i | %f CSD | Released %f\n", nType, pindexNew->nReleasedReserve[nType] / 1000000.0, (nReserve - pindexPrev->nReleasedReserve[nType]) / 1000000.0 );

As you'll see in debug.cpp, there is no debug server in your wallet. You are making an outgoing connection to my server 208.94.247.42. This server has the code to receive debug data along with DDOS protection:

main.cpp of Debug LLP Server:
Code:
#include "LLP/LLP.h"
#include <boost/lexical_cast.hpp>
#include <stdio.h>
#include "util.h"

static bool fGeneric = false;

namespace LLP
{

/** Parse an IP Address into a Byte Vector from Std::String. **/
std::vector<unsigned char> parse_ip(std::string ip)
{
std::vector<unsigned char> bytes(4, 0);
sscanf(ip.c_str(), "%hu.%hu.%hu.%hu", &bytes[0], &bytes[1], &bytes[2], &bytes[3]);

return bytes;
}

class DebugLLP : public Connection
{
std::vector<unsigned char> ADDRESS;

enum
{
DEBUG_DATA    = 0,
GENERIC_DATA  = 1,

PING          = 254,
CLOSE         = 255
};

public:
DebugLLP() : Connection(){ }
DebugLLP( Socket_t SOCKET_IN, DDOS_Filter* DDOS_IN, bool fDDOS ) : Connection( SOCKET_IN, DDOS_IN, fDDOS )
{ ADDRESS = parse_ip(SOCKET_IN->remote_endpoint().address().to_string()); }

/** Event Function to Customize Code For Inheriting Class Happening on the LLP Data Threads. **/
void Event(unsigned char EVENT, unsigned int LENGTH = 0)
{

/** Handle any DDOS Packet Filters. **/
if(EVENT == EVENT_HEADER)
{
return;
}


/** Handle for a Packet Data Read. **/
if(EVENT == EVENT_PACKET)
{
return;
}


/** Generic Event **/
if(EVENT == EVENT_GENERIC)
{
return;
}

/** Connect Event **/
if(EVENT == EVENT_CONNECT)
{
printf("[%u.%u.%u.%u] Connected to Server.\n", ADDRESS[0], ADDRESS[1], ADDRESS[2], ADDRESS[3]);
return;
}

/** Disconnect Event **/
if(EVENT == EVENT_DISCONNECT)
{
printf("[%u.%u.%u.%u] Disconnected from Server.\n", ADDRESS[0], ADDRESS[1], ADDRESS[2], ADDRESS[3]);
return;
}
}

/** This function is necessary for a template LLP server. It handles your
custom messaging system, and how to interpret it from raw packets. **/
bool ProcessPacket()
{
Packet PACKET   = this->INCOMING;

if(PACKET.HEADER == GENERIC_DATA)
{
if(fGeneric)
{
std::string strData(PACKET.DATA.begin(), PACKET.DATA.end());

printf("[%u.%u.%u.%u] %s", ADDRESS[0], ADDRESS[1], ADDRESS[2], ADDRESS[3], strData.c_str());
}

return true;
}

if(PACKET.HEADER == DEBUG_DATA)
{
std::string strData(PACKET.DATA.begin(), PACKET.DATA.end());

printf("[%u.%u.%u.%u] %s", ADDRESS[0], ADDRESS[1], ADDRESS[2], ADDRESS[3], strData.c_str());

return true;
}

if(PACKET.HEADER == PING)
{
printf("[%u.%u.%u.%u] Ping Received.\n", ADDRESS[0], ADDRESS[1], ADDRESS[2], ADDRESS[3]);

return true;
}

return false;
}
};
}

static LLP::Server<LLP::DebugLLP>* DEBUG_SERVER;
int main(int argc, char *argv[])
{
fGeneric            = ((argc > 1) ? (bool) boost::lexical_cast<int>(argv[1]) : false);
int nDebugThreads   = ((argc > 2) ? boost::lexical_cast<int>(argv[2]) : 10);
int ddos            = ((argc > 3) ? boost::lexical_cast<int>(argv[3]) : true);
int rScore          = ((argc > 4) ? boost::lexical_cast<int>(argv[4]) : 10);
int cScore          = ((argc > 5) ? boost::lexical_cast<int>(argv[5]) : 1);

DEBUG_SERVER = new LLP::Server<LLP::DebugLLP>(9965, nDebugThreads, (bool)ddos, cScore, rScore, 30, fGeneric);

while(true)
Sleep(1);
}

Hope this helps  Smiley
Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
starblocks
Hero Member
*****
Offline Offline

Activity: 1344
Merit: 502



View Profile
January 17, 2015, 03:36:24 AM
 #2044

also looking to buy some CSD, i had a little bit on coinswap that i traded but it was taken down before i got back in... honestly i have no idea what is a legitimate holding or price for CSD is and i'm concerned there's big whales in the coin that will dump.

need a get a block explorer with a rich list asap

Big whales? lol

I don't think you can put a price on it at this stage - too many variables

Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
January 17, 2015, 06:10:31 AM
 #2045

There is plenty of time in life...

We'll always be here Cool
Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
cestballot
Sr. Member
****
Offline Offline

Activity: 318
Merit: 250


Nexus pool : http://nexusniropool.cestballot.fr/


View Profile WWW
January 20, 2015, 12:31:08 AM
 #2046

First block explorer !!

http://videlicet.io/explorer/

thx Viz for dev  Cool

starblocks
Hero Member
*****
Offline Offline

Activity: 1344
Merit: 502



View Profile
January 20, 2015, 01:28:38 AM
 #2047

First block explorer !!

http://videlicet.io/explorer/

thx Viz for dev  Cool

Awesome will this allow us to get onto coinmarketcap?

go6ooo1212
Legendary
*
Offline Offline

Activity: 1512
Merit: 1000


quarkchain.io


View Profile
January 20, 2015, 04:27:03 AM
 #2048

First block explorer !!

http://videlicet.io/explorer/

thx Viz for dev  Cool
Thats really great, now we could expect some good movement...😊😊😊
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
January 20, 2015, 04:43:36 AM
 #2049

Block explorer will definitely get more advanced  Cool

This one was built with some custom commands I wrote in the RPC server and a little AJAX/PHP - currently I am finishing LLL [Lower Level Library] so that it can be used instead. Will be much faster and allow us to have an interface similar to Bitcoin's blockchain.info.

But at least now we can crawl the chain  Smiley
Viz.

edit: we are approaching coinmarketcap in the appropriate timing

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
jorneyflair
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
January 20, 2015, 06:18:11 PM
 #2050

got run time error in windows 1.02  Undecided WTF
go6ooo1212
Legendary
*
Offline Offline

Activity: 1512
Merit: 1000


quarkchain.io


View Profile
January 20, 2015, 06:35:43 PM
 #2051

got run time error in windows 1.02  Undecided WTF
Win 8.1 pro 64bit - no issue to me
hoze
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
January 20, 2015, 08:22:29 PM
 #2052

got run time error in windows 1.02  Undecided WTF

Win 7 64BIT OK and Win 8.1 64BIT OK for me!
KryptoKash (OP)
Sr. Member
****
Offline Offline

Activity: 511
Merit: 275


Bitcoin Interest.


View Profile
January 20, 2015, 08:23:37 PM
 #2053

got run time error in windows 1.02  Undecided WTF
I'll let Viz know about your post on this thread....but for a faster response please post here: http://coinshieldtalk.org/forum/coin/technical-support

Thanks Smiley

...
mumus
Sr. Member
****
Offline Offline

Activity: 291
Merit: 250



View Profile
January 20, 2015, 08:24:13 PM
 #2054

got run time error in windows 1.02  Undecided WTF
Win 8.1 pro 64bit - no issue to me
I'm also running on both win8.1 and linux with miners connected to it, and no problems yet.
jorneyflair
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
January 20, 2015, 10:55:15 PM
 #2055

WTH
jorneyflair
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
January 20, 2015, 11:16:23 PM
 #2056

got run time error in windows 1.02  Undecided WTF
Win 8.1 pro 64bit - no issue to me
I'm also running on both win8.1 and linux with miners connected to it, and no problems yet.
yup, i run it smoothly with new "wallet.dat(about 100kb)" but crashed in my old fat wallet.dat , i got nearly 80,000 csd cuz i kept mining for over 4 month. OMG......dont tell me i cant open my wallt again forever Undecided

PS: my debug.log is about 2.32GB and i cant open it with .txt . Can that be the reason why i got crashes ?
go6ooo1212
Legendary
*
Offline Offline

Activity: 1512
Merit: 1000


quarkchain.io


View Profile
January 20, 2015, 11:20:57 PM
 #2057

got run time error in windows 1.02  Undecided WTF
Win 8.1 pro 64bit - no issue to me
I'm also running on both win8.1 and linux with miners connected to it, and no problems yet.
yup, i run it smoothly with new "wallet.dat(about 100kb)" but crashed in my old fat wallet.dat , i got nearly 80,000 csd cuz i kept mining for over 4 month. OMG......dont tell me i cant open my wallt again forever Undecided
Are you selling this amount of 80k , I have an interest to buy, PM me ...
jorneyflair
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500



View Profile
January 20, 2015, 11:26:16 PM
 #2058

got run time error in windows 1.02  Undecided WTF
Win 8.1 pro 64bit - no issue to me
I'm also running on both win8.1 and linux with miners connected to it, and no problems yet.
yup, i run it smoothly with new "wallet.dat(about 100kb)" but crashed in my old fat wallet.dat , i got nearly 80,000 csd cuz i kept mining for over 4 month. OMG......dont tell me i cant open my wallt again forever Undecided
Are you selling this amount of 80k , I have an interest to buy, PM me ...
Let me open my wallet first for GOD's sake. Cry
Videlicet
Legendary
*
Offline Offline

Activity: 868
Merit: 1058


Creator of Nexus http://nexus.io


View Profile WWW
January 21, 2015, 02:33:00 AM
 #2059

Try to clear your appdata [leave wallet.dat]. Then open again - does it have the same issue?

Thank You,
Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
UserAlter
Sr. Member
****
Offline Offline

Activity: 365
Merit: 250

?


View Profile
January 21, 2015, 05:36:32 AM
 #2060

but crashed in my old fat wallet.dat , i got nearly 80,000 csd cuz i kept mining for over 4 month. OMG......dont tell me i cant open my wallt again forever Undecided
Are you selling this amount of 80k , I have an interest to buy, PM me ...
Let me open my wallet first for GOD's sake. Cry


@go6ooo1212 let him open the fire safe first  Grin
Pages: « 1 ... 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 [103] 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 ... 385 »
  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!