Browse Source

dns seed

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
56194d1eaf
  1. 2
      src/chainparams.cpp
  2. 2
      src/twister.cpp

2
src/chainparams.cpp

@ -61,7 +61,7 @@ public: @@ -61,7 +61,7 @@ public:
hashGenesisBlock = genesis.GetHash();
assert(hashGenesisBlock == uint256("0x000000792bc5674af6fa5c006149d78c47265f7e03d2ca7f5a094b2475ef1328"));
//vSeeds.push_back(CDNSSeedData("bitcoin.sipa.be", "seed.bitcoin.sipa.be"));
vSeeds.push_back(CDNSSeedData("twister.net.co", "seed.twister.net.co"));
base58Prefixes[PUBKEY_ADDRESS] = 0;
base58Prefixes[SCRIPT_ADDRESS] = 5;

2
src/twister.cpp

@ -954,6 +954,8 @@ Value newpostmsg(const Array& params, bool fHelp) @@ -954,6 +954,8 @@ Value newpostmsg(const Array& params, bool fHelp)
// post to dht as well
ses->dht_putData(strUsername, string("post")+strK, false,
v, strUsername, GetAdjustedTime(), 1);
ses->dht_putData(strUsername, string("status"), false,
v, strUsername, GetAdjustedTime(), k);
// is this a reply? notify
if( strReplyN.length() ) {

Loading…
Cancel
Save