Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arqma v0.5 Release Candidate #155

Merged
merged 158 commits into from Aug 13, 2019
Merged
Changes from 1 commit
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
7199752
bulletproofs: multi-output bulletproofs
malbit Jun 11, 2019
9870b96
lock_guard is required
malbit Jun 11, 2019
0ee0f99
bulletproofs: misc optimizations
malbit Jun 11, 2019
9336c04
ringct: add bos coster multiexp
malbit Jun 11, 2019
cf1b4e2
add Straus multiexp
malbit Jun 11, 2019
b270039
bulletproofs: add multi output bulletproofs to rct
malbit Jun 11, 2019
549a179
multiexp: bos coster now works for just one point
malbit Jun 11, 2019
7f61599
make straus cached mode thread safe
malbit Jun 11, 2019
7f8dea3
bulletproofs: add aggregated verification
malbit Jun 11, 2019
70f2f39
multiexp: some speedups
malbit Jun 11, 2019
32aa747
Bulletproof aggregated verification
malbit Jun 11, 2019
b2e5fab
Add a define for the max number of bulletproof multi-outputs
malbit Jun 11, 2019
1ee787f
precalc the ge_p3 representation of H
malbit Jun 11, 2019
dd05df2
multiexp: cut down on memory allocations
malbit Jun 11, 2019
0cc4b5c
Pippenger multiexp
malbit Jun 11, 2019
6469c4f
Add Pippenger cache and limit Straus cache size
malbit Jun 11, 2019
d26edfa
bulletproofs: speed up a few multiplies using existing Hi cache
malbit Jun 11, 2019
e639cc6
bulletproofs: reject points not in the main subgroup
malbit Jun 11, 2019
c1caba0
bulletproofs: a few fixes from the Kudelski review
malbit Jun 11, 2019
d8863d6
v13: per byte fee, pad bulletproofs
malbit Jun 11, 2019
aea6666
ringct: prevent a potential very large allocation + rctTypes: fix inc…
malbit Jun 11, 2019
db9ffcd
ringct: error out when hashToPoint* returns the point at infinity
malbit Jun 11, 2019
e7951a6
bulletproofs: reject x, y, z, or w[i] being zero
malbit Jun 11, 2019
ed89dbf
Check inputs to addKeys are in range
malbit Jun 11, 2019
c417d8c
multiexp: fix wrong Bos-Coster result for 1 non trivial input
malbit Jun 11, 2019
ab9f6a5
cryptonote_basic: check output type before using it
malbit Jun 11, 2019
6f1c22b
multiexp: fix maxscalar off by one
malbit Jun 11, 2019
ef44afc
more comprehensive test for ge_p3 comparison to identity/point at inf…
malbit Jun 11, 2019
5a40700
bulletproofs: match aggregated verification to sarang's latest prototype
malbit Jun 11, 2019
c7d90ef
bulletproofs: scale points by 8 to ensure subgroup validity
Jun 11, 2019
447e65e
bulletproofs: speed up the latest changes a bit
malbit Jun 12, 2019
b41e048
bulletproofs: #include <openssl/bn.h>
malbit Jun 12, 2019
58af6d5
device: add bulletproof support
malbit Jun 12, 2019
afd80a7
rct: avoid repeated unnecessary conversions when accummulating
malbit Jun 12, 2019
6c0372b
bulletproofs: multiply points by 8 first thing in verification
malbit Jun 12, 2019
3adc25d
wallet2: fix cold signing using non padded bulletproofs
malbit Jun 12, 2019
15fc811
bulletproofs: speedup PROVE
malbit Jun 12, 2019
e80b3f4
bulletproofs: shave off a lot of scalar muls from the g/h construction
malbit Jun 12, 2019
5a2b287
bulletproofs: random minor speedups
malbit Jun 12, 2019
b252dd6
bulletproofs: some more speedup
malbit Jun 12, 2019
834ec1a
bulletproofs: remove single value prover
malbit Jun 12, 2019
404d0ec
multiexp: pack the digits table when STRAUS_C is 4
malbit Jun 12, 2019
c0ec75c
bulletproofs: merge multiexps as per sarang's new python code
malbit Jun 12, 2019
4d2fd3d
bulletproofs: rework flow to use sarang's fast batch inversion code
malbit Jun 12, 2019
285a957
bulletproofs: maintain -z4, -z5, and -y0 to avoid subtractions
malbit Jun 12, 2019
94968d7
multiexp: handle pippenger multiexps with part precalc
malbit Jun 12, 2019
638bfe6
bulletproofs: speedup prover
malbit Jun 12, 2019
cc99549
multiexp: tune which variants to use for which number of points
malbit Jun 12, 2019
1fa399f
bulletproofs: only enable profiling on request
malbit Jun 12, 2019
3a3deb3
multiexp: some minor speedups
malbit Jun 12, 2019
2a21655
Fix prune using receive time as tx_weight
malbit Jun 12, 2019
27079f6
ringct: use dummy bulletproofs when in fake mode, for speed
malbit Jun 12, 2019
217664b
rct: speedup commit a little
malbit Jun 12, 2019
b6bf346
bulletproofs: reserve vector memory when known in advance
malbit Jun 12, 2019
fd93bd5
bulletproofs: avoid std::vector allocations for slice
malbit Jun 12, 2019
becec9d
bulletproofs_legacy added
malbit Jun 12, 2019
3beaa57
Merge branch 'master' into bp
malbit Jun 20, 2019
8057368
ringct: fix capitalization for scaler mult
Jun 20, 2019
1b65ca6
fixes
malbit Jun 24, 2019
84dadeb
rpc: fix linking
malbit Jun 25, 2019
ba37d36
db_lmdb: log which output was not found in get_output_key
malbit Jun 25, 2019
2ea1ed1
db_lmdb: slight speedup getting array data from the blockchain
malbit Jun 25, 2019
8a85089
db_lmdb: error out if the db needs migration in read only mode
malbit Jun 25, 2019
3a1faa1
tx_pool: remove unnecessary get_transaction_hash
malbit Jun 25, 2019
8239fa5
blockchain_db: remove a couple unused functions
malbit Jun 25, 2019
87f65b6
db_lmdb: inline check_open, it's trivial and called everywhere
malbit Jun 25, 2019
c13078d
db_lmdb: avoid pointless division
malbit Jun 25, 2019
d6c221f
db_lmdb: don't unnecessarily cast to double on the way to uint64_t
malbit Jun 25, 2019
e730722
db_lmdb: fix missing mdb_dbi_close in migration
malbit Jun 25, 2019
38a12a1
ArticMine's new block weight algorithm
malbit Jun 25, 2019
1a6290c
save some database calls when getting top block hash and height
malbit Jun 25, 2019
c08c9ac
db_lmdb: make mdb_block_info format conversion more future proof
malbit Jun 25, 2019
e1eef0e
blockchain: speed up getting N blocks weights/long term weights
malbit Jun 25, 2019
012f278
slight fix
malbit Jun 25, 2019
f735ffb
static ring_size
Jun 25, 2019
3003c64
daemon, wallet: new pay for RPC use system
malbit Jun 26, 2019
e49f6c0
small fix
malbit Jun 26, 2019
55fafb3
some serialization fixes
malbit Jun 26, 2019
670349e
error_response rework
malbit Jun 26, 2019
a5f0dbb
boost::mutex fix and new --offline command at RPC
malbit Jun 26, 2019
448cbc5
trivial typo mistakes
malbit Jun 26, 2019
3c11a5d
rpc_payments fees reworked
Jun 26, 2019
fdd5066
previous fees were too low
Jun 26, 2019
e04d5b8
rpc: implement get_public_nodes command
Jun 26, 2019
5921a02
rpc: new RPC to modify a client's "credit balance"
Jun 26, 2019
fbb587d
include rpc credits/hash in the peer lists
Jun 26, 2019
4733a5a
simplewallet: add public_nodes command
Jun 26, 2019
8ad8b7c
Command description
ArqTras Jun 27, 2019
5258631
cryptonote: rework block blob size sanity check
Jun 28, 2019
30e3c4d
some fixes
malbit Jun 29, 2019
95c2272
wallet: do not check txpool in background mode
malbit Jun 29, 2019
913fb66
easylogging++: update to v9.96.7
malbit Jun 29, 2019
0647062
rpc: merge the two get_info implementations
malbit Jun 29, 2019
24e2103
wallet2: set confirmations to 0 for pool txes
malbit Jun 29, 2019
dc5b5b9
wallet_rpc_server: set confirmations to 0 for pending/pool txes
malbit Jun 29, 2019
a1360cb
cryptonote: fix calculating coinbase tx hash
malbit Jun 29, 2019
d0102c6
Simplewallet: Unify usage messages.
malbit Jun 29, 2019
6ef5663
wallet: tx_sanity_check + gamma output_distribution reworked
malbit Jun 29, 2019
cc86de1
depends: Fix readline compilation
malbit Jun 30, 2019
d25e378
Darwin compilation fix
malbit Jun 30, 2019
f630ed9
depends: zeromq fix
malbit Jun 30, 2019
1daeb77
manor fixes
malbit Jul 4, 2019
6083fe4
bp_legacy serialization fix
malbit Jul 4, 2019
35ff6dc
minor speed-up fixes
malbit Jul 4, 2019
a6ff9f9
multisig keys fix
malbit Jul 5, 2019
736b115
fixes
malbit Jul 9, 2019
c6f1fbb
tweaks
malbit Jul 10, 2019
397316a
semantics
malbit Jul 10, 2019
31fb2de
fix
malbit Jul 10, 2019
05de5e5
rct tweak
malbit Jul 10, 2019
3dbbbfb
Allow Padded Bullets from v12 to have Semantics Valid
malbit Jul 10, 2019
f1882be
version Bump + checkopints up to 215000
malbit Jul 11, 2019
86f8c78
New Stagenet Heights
malbit Jul 11, 2019
48a1eb1
version fix
malbit Jul 11, 2019
58a6ff0
fixes and tweaks
malbit Jul 12, 2019
ed37c42
minor tweaks
malbit Jul 16, 2019
2844dc1
optimise prick_preferred_rct_inputs
malbit Jul 16, 2019
f32cc72
tweaks & tricks
malbit Jul 17, 2019
92a2c0b
p2p: do not send last_seen timestamp to peers
malbit Jul 17, 2019
2f24719
Fix connection leaks and only use more up to date peers for syncing
malbit Jul 17, 2019
943dd68
sizes changes
malbit Jul 23, 2019
53bfa44
slight fix
malbit Jul 23, 2019
8041e3b
speedup get_rct_distribution
malbit Jul 23, 2019
a159b54
Arqma cryptonote_config.h simplyfing
malbit Jul 24, 2019
34e9caa
pre v13 tweaks
malbit Jul 24, 2019
04dacf8
Merge commit '960686956b85bf5080f0a96873a1b867c76fbc9c'
malbit Jul 24, 2019
c374fdd
slight config tweak and new stagenet seed_nodes
malbit Jul 24, 2019
1ef7611
New StageNet Heights
malbit Jul 27, 2019
aaac43b
minor fixes
malbit Jul 30, 2019
2d0483c
rpc_payment tweaks
malbit Jul 30, 2019
23d551b
some fixes
malbit Jul 31, 2019
516a89a
Remove unused txs member in NOTIFY_RESPONSE_GET_OBJECT
malbit Jul 31, 2019
c3d228e
Fix daemon startup parameter '--limit-rate' processing after paramete…
malbit Jul 31, 2019
794e893
rpc: in/out peers can now return the setting's value
malbit Jul 31, 2019
ab5b110
small fixes
malbit Jul 31, 2019
3dbb43a
p2p: delay IGP probing on startup
malbit Jul 31, 2019
277db13
tirvial typo error
malbit Jul 31, 2019
b696f2b
trivial typo again
malbit Jul 31, 2019
01c0374
depends update
malbit Jul 31, 2019
77b9d29
depends
malbit Jul 31, 2019
1c38671
travis fix
malbit Jul 31, 2019
e266e46
Merge branch 'bp_legacy-origin' of git@github.com:malbit/arqma.git
malbit Jul 31, 2019
18f32cc
Multisig Improvements + depends updates
malbit Jul 31, 2019
db5741e
Premine BURN Transaction key_images set as spent
malbit Aug 8, 2019
f885266
wallet2: factor the watchonly/multisig/etc fields on creation
malbit Aug 8, 2019
992f8ec
add multisig tx sets to describe_transfer rpc endpoint
malbit Aug 8, 2019
1d70cd8
rpc multisig
malbit Aug 8, 2019
4e2ce5c
small fix
malbit Aug 8, 2019
b024ad4
Updated checkpoints
malbit Aug 8, 2019
bca5d60
some fixes
malbit Aug 8, 2019
ae2042a
fix
malbit Aug 9, 2019
23afd09
typo fix
malbit Aug 9, 2019
62af442
Premine BURN!!!!!
malbit Aug 9, 2019
22799f7
Codename change
malbit Aug 9, 2019
cfc9bcc
filename was wrong
malbit Aug 9, 2019
a1eda9a
some multisig fixes
malbit Aug 10, 2019
c0ce628
connection buffer tweak
malbit Aug 10, 2019
1deb21e
typo fix
malbit Aug 10, 2019
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Premine BURN!!!!!

  • Loading branch information...
malbit committed Aug 9, 2019
commit 62af4428aefd7580dc7fb1d58896e2eccf15f315
@@ -401,7 +401,8 @@ void BlockchainDB::fixup()
// Premine Burn Transaction key_images
static const char* const burn_vout_images[] =
{
"", // It has to be Updated after making Burn Transfer along with tx_hash
"55fbaf353dc0750a522a3d5b9dc5500659681b8b8d5e7126e529a34f6887d8c6", // tx_hash: e8642cc515dc92e7fe31a5c5dc0558ed336e7ce5139a173e2f1680d2f46453fc
"c37f0d76d9143384ee1f2cf9d6f05f131ec0f11c8b20b4c69179a5a563cd2792", // tx_hash: e8642cc515dc92e7fe31a5c5dc0558ed336e7ce5139a173e2f1680d2f46453fc
};

for(const auto &kis : burn_vout_images)
@@ -89,6 +89,8 @@ namespace cryptonote {
const int target_minutes = DIFFICULTY_TARGET_V2 / 60;
const int emission_speed_factor = EMISSION_SPEED_FACTOR_PER_MINUTE - (target_minutes-3);

already_generated_coins -= config::blockchain_settings::PREMINE_BURN;

uint64_t base_reward = (MONEY_SUPPLY - already_generated_coins) >> emission_speed_factor;
if (base_reward < FINAL_SUBSIDY_PER_MINUTE*target_minutes)
{
@@ -234,7 +234,7 @@ namespace config

namespace blockchain_settings
{
static constexpr uint64_t PREMINE_BURN = 0; // Will need to be set after knowing exact amount.
static constexpr uint64_t PREMINE_BURN = 5100000000000000; // Will need to be set after knowing exact amount.
static constexpr uint64_t MAXIMUM_BLOCK_SIZE_LIMIT = 2 * 1024 * 1024; // It is set to 2048kB (2MB)
static constexpr uint64_t MINIMUM_BLOCK_SIZE_LIMIT = 1 * 1024 * 1024; // It is set to 1024kB (1MB)
static constexpr uint8_t ARQMA_GENESIS_BLOCK_MAJOR_VERSION = 1;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.