Skip to content

Instantly share code, notes, and snippets.

View akshaynexus's full-sized avatar
🖥️
Ł Ξ ₮ ₿

Akshay CM akshaynexus

🖥️
Ł Ξ ₮ ₿
View GitHub Profile
// select a block from the candidate blocks in vSortedByTimestamp, excluding
// already selected blocks in vSelectedBlocks, and with timestamp up to
// nSelectionIntervalStop.
static bool SelectBlockFromCandidates(
vector<pair<int64_t, uint256> >& vSortedByTimestamp,
map<uint256, const CBlockIndex*>& mapSelectedBlocks,
int64_t nSelectionIntervalStop,
uint64_t nStakeModifierPrev,
const CBlockIndex** pindexSelected)
{
{"DAekFXfYfJxesti27B9dyiNwB1G7BZeiX1": 640319.17068784,"DAff4q6hS4PK6Td8dL5gY55B2esqeYD2MV": 264309.71587631,"DQYqRe4ETpYca6P3RyPF4JSMRJKX1RzR4N": 66066.7189855,"DJz6NYs716wEdNttpeMuRRKY2YinmSXx1b": 56519.8109131,"DURRDSmVmoC7mVfvYdFpKXxku9wTWSZYum": 45395.80206952,"DSnoEXi2ZyvPPHEPZWCdssbTGoubRfvmZL": 37512.53170517,"D6BwECbPrNvaFxLDxTrKaupnkFuH662Ave": 29907.965864499998,"DPyqfan52h1r4MahwgnFX6Yo36RMXgG1VW": 29451.53341253,"DNC17C31ZS4CjXjA7DsH2CMMaAJmgwhpti": 29360.73355303,"DRbyYGC5sUX4jwv7KpFBpHhBzxF7zukn7V": 28400,"D68hoEeAgty6vohR7tJ2ZBDG1CtqzcaPma": 23850.65623773,"DE9X5DnbTj6ramXRC4a2rd5e3jdLguES1s": 23784.80225818,"DMWtQeb1ppTvvmh9tDWKFUQ5pdvb4wMkVf": 21343.78817008,"DURofEvmMaYLGLXwbbekPyGhT6XZ3ni1Zm": 20887.15925882,"DJsRjGWJ9g22F9AWjo7Pafdmbia57H3A2M": 18282.4700452,"DRGU5URm9RMWNTztYA2s3rLRCDc1wvHfq8": 16227.32790877,"DHXa1wmZezCfJ2e3MmZwaH9aZkx89FkLDf": 15605.267708,"DT7yeHk591Byonx9yv1hx6a2fHN5Xd2neC": 15032.05681323,"DDMAzDNqycFdXfEUjQZjrnVfb3LeBD5b9Y": 15002.3999852,"DKLNMa2qpvVY32xrcP1w7hpk
@akshaynexus
akshaynexus / commanddogec.txt
Last active May 19, 2019 12:10
DogeCash Swap
dogecash-cli sendmany "" "{\"DAekFXfYfJxesti27B9dyiNwB1G7BZeiX1\": 640319.17068784,\"DAff4q6hS4PK6Td8dL5gY55B2esqeYD2MV\": 264309.71587631,\"DQYqRe4ETpYca6P3RyPF4JSMRJKX1RzR4N\": 66066.7189855,\"DJz6NYs716wEdNttpeMuRRKY2YinmSXx1b\": 56519.8109131,\"DURRDSmVmoC7mVfvYdFpKXxku9wTWSZYum\": 45395.80206952,\"DSnoEXi2ZyvPPHEPZWCdssbTGoubRfvmZL\": 37512.53170517,\"D6BwECbPrNvaFxLDxTrKaupnkFuH662Ave\": 29907.965864499998,\"DPyqfan52h1r4MahwgnFX6Yo36RMXgG1VW\": 29451.53341253,\"DNC17C31ZS4CjXjA7DsH2CMMaAJmgwhpti\": 29360.73355303,\"DRbyYGC5sUX4jwv7KpFBpHhBzxF7zukn7V\": 28400,\"D68hoEeAgty6vohR7tJ2ZBDG1CtqzcaPma\": 23850.65623773,\"DE9X5DnbTj6ramXRC4a2rd5e3jdLguES1s\": 23784.80225818,\"DMWtQeb1ppTvvmh9tDWKFUQ5pdvb4wMkVf\": 21343.78817008,\"DURofEvmMaYLGLXwbbekPyGhT6XZ3ni1Zm\": 20887.15925882,\"DJsRjGWJ9g22F9AWjo7Pafdmbia57H3A2M\": 18282.4700452,\"DRGU5URm9RMWNTztYA2s3rLRCDc1wvHfq8\": 16227.32790877,\"DHXa1wmZezCfJ2e3MmZwaH9aZkx89FkLDf\": 15605.267708,\"DT7yeHk591Byonx9yv1hx6a2fHN5Xd2neC\": 15032.05681323,\"DDMAzDNqycFdX
[
{
"id" : 33,
"addr" : "163.172.139.43:6740",
"addrlocal" : "188.71.229.213:5492",
"services" : "0000000000000005",
"lastsend" : 1555007274,
"lastrecv" : 1555007276,
"bytessent" : 755613,
"bytesrecv" : 6626327,
enzo_tx-zenzo-tx.o: In function `MutateTxSign(CMutableTransaction&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
zenzo-tx.cpp:(.text+0x1f5e): undefined reference to `vtable for CCoinsView'
zenzo-tx.cpp:(.text+0x1f87): undefined reference to `CCoinsViewCache::CCoinsViewCache(CCoinsView*)'
zenzo-tx.cpp:(.text+0x2198): undefined reference to `UniValue::operator[](unsigned int) const'
zenzo-tx.cpp:(.text+0x21b5): undefined reference to `UniValue::operator[](unsigned int) const'
zenzo-tx.cpp:(.text+0x236a): undefined reference to `UniValue::operator[](unsigned int) const'
zenzo-tx.cpp:(.text+0x2801): undefined reference to `UniValue::checkObject(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, UniValue::VType, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, UniValue::VType> >
@akshaynexus
akshaynexus / test
Created March 22, 2019 18:10
Compile error
main.cpp:4427:34: error: qualified-id in declaration before ‘(’ token
bool CBlockIndex::IsSuperMajority(int minVersion, const CBlockIndex* pstart, unsigned int nRequired)
^
main.cpp:4440:42: error: a function-definition is not allowed here before ‘{’ token
int static inline InvertLowestOne(int n) { return n & (n - 1); }
^
main.cpp:4444:1: error: a function-definition is not allowed here before ‘{’ token
{
^
main.cpp:4454:38: error: qualified-id in declaration before ‘(’ token
@akshaynexus
akshaynexus / Extensions.swift
Created December 13, 2018 10:47
New swift extensions.swift from ravenwallet
//
// Extensions.swift
// RavenWallet
//
// Created by Samuel Sutch on 1/30/16.
// Copyright (c) 2018 Ravenwallet Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
@akshaynexus
akshaynexus / .travis.yml
Created October 20, 2018 18:27
sample travis
sudo: required
dist: trusty
group: deprecated-2017Q3
os: linux
language: generic
cache:
apt: true
ccache: true
directories:
- depends/built