Commit Graph
32 Commits
Author SHA1 Message Date
DeckerSU f357d9eb1c add convertpassphrase RPC method (convert Agama passphrases to WIF) 2019-06-24 16:00:34 +03:00
DeckerSU 103bca1ba7 LoadBlockIndexDB speed-up for non-LWMAPOS chains (x5 perfomance boost)
seems we had CChainPower classes compare here from Verus, it's slow, bcz of hard
arith_uint256 math in bool operator<(const CChainPower &p1, const CChainPower &p2),
this slows down setBlockIndexCandidates.insert operations in LoadBlockIndexDB(),
so, for faster block index db loading we will use check from Verus only for LWMAPOS
enabled chains.

perfomance test (daemon load time from start):

without fix - 3m42sec
   with fix - 39sec
2019-06-16 12:07:35 +03:00
DeckerSU 4f989b26eb fix notarisationTx type 2019-05-30 00:23:38 +03:00
DeckerSU 33a0059a18 gcc-8: fix komodo_connectblock reaches end of non-void function error 2019-05-30 00:11:50 +03:00
DeckerSU 9a5de83ebc sort64 / revsort64s has void return-type 2019-05-29 23:14:15 +03:00
DeckerSU f8bd669f20 osx: komodo-cli binary static libgcc linking 2019-05-25 00:35:26 +03:00
DeckerSU 7983e6d23c Revert "komodo-cli, wallet-utility and komodo-tx also need static build on OSX"
This reverts commit a2a0cd2425.
2019-05-25 00:20:23 +03:00
DeckerSU 35bff713b0 Update README.md to use gcc@8 on OSX 2019-05-25 00:05:00 +03:00
DeckerSU a2a0cd2425 komodo-cli, wallet-utility and komodo-tx also need static build on OSX 2019-05-25 00:04:44 +03:00
DeckerSU 45aecd9c3c osx: switch to gcc-8 static build 2019-05-24 11:36:20 +03:00
DeckerSU 6af417b990 build-mac.sh fix on latest libcurl changes
https://github.com/jl777/komodo/issues/1452
2019-04-25 14:24:53 +03:00
DeckerSU c4c5746e9c added config flags to openssl
to make libcurl HTTPS connections work OpenSSL needs to be built
with sock, ssl, tls and des. all other config options can be disabled,
like in ZCash.
2019-04-22 20:56:25 +03:00
DeckerSU 0930945aa0 remove debug delays in libcurl.mk 2019-04-22 20:54:49 +03:00
DeckerSU 1a9f6cb607 return OpenSSL 1.1.1a and applied patch
More info:

- https://github.com/openssl/openssl/issues/7350
- https://github.com/openssl/openssl/commit/f725fe5b4b6504df08e30f5194d321c3025e2336

Without this patch we will get following error:

```
SSL: couldn't create a context: error:00000000:lib(0):func(0):reason(0)
```

during trying to connect HTTPS.
2019-04-22 20:27:28 +03:00
DeckerSU 2f19aeaa4a + debug (ssl and curl version printout) 2019-04-19 22:01:54 +03:00
DeckerSU 03794dc208 first approach to get HTTPS in libcurl work
1. libcurl.mk now changed to build against static openssl from deps.
2. but, it won't work with openssl 1.1.1a, bcz of SSL: couldn't create a context: error:00000000:lib(0):func(0):reason(0)	,
so, in test i decided to upgrade openssl to 1.1.1b.
3. original openssl.mk was with many disabled features, i enable all of them,
of course it's don't needed and we need to leave only SSL/TLS things enabled
in OpenSSL build.
4. probably i broke something in Windows and MacOS build.

This commit is only first approach to continue work.
2019-04-19 21:57:10 +03:00
DeckerSU 9cead95733 [fix] player lose focus, when call [i] inventory with MAXPACK (23) items 2019-03-21 22:51:40 +03:00
DeckerSU eb0db6b0be Merge branch 'jl777' of https://github.com/jl777/komodo into patch-rogue-msvc 2019-03-21 00:00:15 +03:00
DeckerSU 6579ea6c21 Patch rogue msvc (#1330)
* + msvc 2015 deps headers

* + msvc deps build script

this script builds only deps, to build rogue binary, open
*.sln file in MSVC 2015 and build x64 Release version.

* + msvc solution (*.sln) update

* + msvc build fix

* fix libcurl deps install (msvc)

* [msvc] fix seed str -> uint64 conversion

* [msvc] fix config file name issue
+ debug print for send raw tx

* + comment debug printouts

* [ msvc ] display compiler version and build date on startup
2019-03-13 01:03:43 -11:00
DeckerSU 8a0576f923 [ msvc ] display compiler version and build date on startup 2019-03-13 01:05:11 +03:00
DeckerSU 8ec2fe1a5e + comment debug printouts 2019-03-12 21:00:52 +03:00
DeckerSU 6c907d78c1 [msvc] fix config file name issue
+ debug print for send raw tx
2019-03-12 19:26:03 +03:00
DeckerSU 445d68395e [msvc] fix seed str -> uint64 conversion 2019-03-12 19:25:13 +03:00
DeckerSU bc0073b27d rogue msvc build (#1327)
* + msvc 2015 deps headers

* + msvc deps build script

this script builds only deps, to build rogue binary, open
*.sln file in MSVC 2015 and build x64 Release version.

* + msvc solution (*.sln) update

* + msvc build fix

* fix libcurl deps install (msvc)
2019-03-10 19:33:40 -11:00
DeckerSU 52cfb02f40 komodo_activate_sapling return value fix 2019-01-26 04:21:55 +03:00
DeckerSU a6e7da55e2 fix gcc-8 / g++-8 build 2019-01-26 03:09:54 +03:00
DeckerSU 01a684cd95 genproclimit fix
by default when we start komodod only with -gen arg
genproclimit automatically become -1. this behaviour derived
from VRSC after last merge (as i remember, vrsc has -1 by default,
0 - for staking, and >= 1 - for mining and staking), so we need
to set genproclimit=1 if we pass gen and want to actually start
mining.
2018-12-09 23:23:42 +03:00
DeckerSU eb94acf733 + freq:5 for EMC2 2018-10-07 17:06:27 +03:00
DeckerSU 390b0a79b2 Merge branch 'patch-8' of https://github.com/ca333/komodo into dev-winpatch-ca333 2018-04-20 03:38:00 +03:00
DeckerSU 5a83e4fc3f src/snark patches for windows build 2018-04-20 03:32:45 +03:00
DeckerSU 5d4f0421af fix vout values display in Insight KMD explorer 2018-04-16 19:31:48 +03:00
DeckerSU b3f7ce9b7a added checkpoints for KMD blockchain. need to be tested.
- added method SetCheckpointData for CChainParams.
- as we can't check asset it or not in CMainParams() constructor, because command line arguments don't initialized at that time, we will execute SetCheckpointData in chainparams_commandline later.

changes was tested in komodo-qt wallet, but additional tests wouldn't be superfluous.
2018-01-27 13:28:43 +03:00