Commit Graph

857 Commits (9fad4008ef8a720e11f6e97cca42ac3a4cd7cb95)

Author SHA1 Message Date
Sergey Kazenyuk 3be518ff40 Use single get_transaction_hash to get both id and blob size
9 years ago
Thomas Winget eee3ee7073
BlockchainDB implementations have names now
9 years ago
Thomas Winget 5eab480cb1
Moved BlockchainDB into its own src/ subfolder
9 years ago
smooth 7e72e943db update checkpoint
9 years ago
smooth 41a95e7b11 add comment about avoiding overflow
9 years ago
smooth 754a785ee1 minimum subsidy for mining incentives, remove unused LEGACY_FEE define
9 years ago
Thomas Winget 9dab105e2e
DNS checkpoint loading for testnet should now be correct
9 years ago
Thomas Winget 96cbecffd7
RPC calls for background daemon added in
9 years ago
Thomas Winget 9193d6fb5b
Daemonize changes pulled in -- daemon builds
9 years ago
Thomas Winget 0ad0784f46
Changed log level of debug message -- too spammy
9 years ago
warptangent 6485dacc2f
BlockchainLMDB: Add profiling to tx_exists()
9 years ago
warptangent 83fb6d8d07
BlockchainLMDB: Add batch transaction support to tx_exists()
9 years ago
warptangent 8529c0ea9a
BlockchainDB, BlockchainLMDB: Add profiling for DB commits
9 years ago
warptangent 7a66b8bbcf
BlockchainDB: Add virtual function declarations for batch transactions
9 years ago
warptangent b7a2d84919
BlockchainLMDB: Add check for open database to two functions
9 years ago
warptangent 58ecc58be1
BlockchainLMDB: Add support for batch transactions
9 years ago
warptangent 8909d7d82e
Improve block and tx processing efficiency by less repeat hashing
9 years ago
warptangent 3676ac5841
Add profiling to block and tx processing
9 years ago
warptangent ce71abd0fe
Move LMDB storage to subfolder
9 years ago
warptangent 42f8fe5c7f
Fix formatting
9 years ago
warptangent aa82f786c7
Fix log statement
9 years ago
warptangent 26873db199
Remove unused variable
9 years ago
warptangent 4b90fd389d
Add log statement
9 years ago
warptangent 2531aa31f8
Add and extend log statements
9 years ago
warptangent 59305d3137
Blockchain: match original function declaration from blockchain_storage
9 years ago
warptangent b88ab643ca
Fix Blockchain::get_tail_id() to set parameter to last block number instead of height
9 years ago
warptangent 963bc09087
Revert "Bounds error, should fix #27"
9 years ago
Thomas Winget 6f1c4b4c2c
Bounds error, should fix #27
9 years ago
rfree2monero ae2a50659f 2014 network limit 1.2 +utils +toc -doc -drmonero
10 years ago
rfree2monero 5ce4256e3d 2014 network limit 1.1 +utils +toc -doc -drmonero
10 years ago
rfree2monero eabb519605 2014 network limit 1.0a +utils +toc -doc -drmonero
10 years ago
Thomas Winget fc62af5cf8
Merge remote-tracking branch 'monero-project/master' into blockchain
10 years ago
warptangent 84fe5fbd65
Add compile-time support for both db implementations: in-memory and LMDB
10 years ago
warptangent 8bd1983cdc
Blockchain: reflect log updates from blockchain_storage
10 years ago
warptangent 7f9b070165
Blockchain: reflect log and assert updates from blockchain_storage
10 years ago
warptangent 70342ecada
Blockchain: reflect log level of blockchain_storage
10 years ago
warptangent c8d27fb38d
Blockchain: reflect assert behavior of blockchain_storage for get_tx_outputs_gindexs()
10 years ago
warptangent d00ee784db
Update recently added log statement to fix possible null dereference
10 years ago
Riccardo Spagni 497a514bd3 replaced 64-bit multiplication in difficulty.cpp with a portable version
10 years ago
Thomas Winget acd4c369e4
Should fix std::min issues related to size_t
10 years ago
warptangent 800d9b9247
Remove code previously made unused and marked unused
10 years ago
warptangent 0840c2fd7e
Fix height assertion in Blockchain::handle_alternative_block()
10 years ago
warptangent 63051bea1c
Fix comparison between main and alternate chain's cumulative
10 years ago
warptangent 909ea81067
Remove a have_block() check so alternate block can be processed
10 years ago
warptangent 4d0a94b20c
Complete implementation of transaction removal
10 years ago
warptangent 1701c26750
Use block index when obtaining block's difficulty for log statement
10 years ago
warptangent 4eba21fd48
Fix transfers to support mixins
10 years ago
warptangent d045dfa7ce
Fix transfers (without mixins)
10 years ago
Thomas Winget 429a740562
throw inline functions need to keep exception type
10 years ago
Thomas Winget 14555eefd5
Fixes segfault in Blockchain::handle_alternative_block
10 years ago
Thomas Winget 7374b81b23 Merge pull request #19 from warptangent/fix_tx_output
10 years ago
warptangent c5c100c69b Obtain tx hash and tx output index from amount and output offset
10 years ago
moneromooo-monero ad8200a573 db_lmdb: fix global index calculation off by 1
10 years ago
Thomas Winget c50cd95674 Fixes a bug with getting output metadata from BlockchainDB
10 years ago
moneromooo-monero 57b80c541e db_lmdb: remove redundant checks
10 years ago
Thomas Winget c3fa07b44b update comments to reflect changed code
10 years ago
moneromooo-monero 59d2b0ed1c db_lmdb: do not give the group database write permissions
10 years ago
moneromooo-monero 4c2a45288a db_lmdb: catch attempt to remove block from an empty blockchain
10 years ago
moneromooo-monero 3a3459d59b db_lmdb: factor all the log+throw code paths
10 years ago
moneromooo-monero 3fcb8daf6e db_lmdb: factor the MDB_val setup code
10 years ago
moneromooo-monero 1860658eec blockchain: do not append "testnet" to the data directory
10 years ago
moneromooo-monero 1c578ad3f8 db_lmdb: remove block timestamp too when removing a block
10 years ago
moneromooo-monero c93a186637 db_lmdb: do not cast const away
10 years ago
moneromooo-monero 198368b2e1 blockchain: fix wallet syncing from scratch
10 years ago
moneromooo-monero 1d23db220a db_lmdb: do not keep a dangling pointer to stack objects
10 years ago
moneromooo-monero 29b5876ad1 db_lmdb: make cursor internal members private
10 years ago
moneromooo-monero a3157d7b69 blockchain_storage: refactor genesis block creation
10 years ago
moneromooo-monero 8e41b1e735 blockchain_storage: add consts where appropriate
10 years ago
moneromooo-monero 256162fcd5 checkpoints: add consts where appropriate
10 years ago
moneromooo-monero b7270ab60e blockchain: add consts where appropriate
10 years ago
moneromooo-monero 23f3cb4c0e blockchain_db: add consts where appropriate
10 years ago
moneromooo-monero 10fd6cab6c blockchain_db: factor some exception code
10 years ago
moneromooo-monero 0886183568 build: add liblmdb to the cmake autodetection system
10 years ago
Thomas Winget 215e63b79f extraneous semicolon in Blockchain::complete_timestamps_vector
10 years ago
Thomas Winget 8e1b7e2ad4 raised maximum mapsize for lmdb to ~16GB
10 years ago
Thomas Winget 6c8b8acfe4 more blockchain height-related fixes, syncing other nodes code this time
10 years ago
Thomas Winget 4af0918501
very, VERY primitive blockchain converter
10 years ago
Thomas Winget 26a7db38eb add new checkpointing behavior to Blockchain class
10 years ago
Thomas Winget 006e106ae9 Store output pubkeys separately, bug fixes
10 years ago
Thomas Winget ab7951d99a Minor bugfixes, redundancy removal
10 years ago
Thomas Winget 71b18d7166 moar bug fixes, removed debug prints
10 years ago
Thomas Winget 0915913111 BlockchainLMDB seems to be working*!
10 years ago
Thomas Winget 1a546e3222 some bug fixes, but still needs work
10 years ago
Thomas Winget 006afe2172 Minor bug fixes and debug prints
10 years ago
Thomas Winget 90f402e258 minor fixes to Blockchain.cpp
10 years ago
Thomas Winget 74a1a89e27
Integrate BlockchainDB into cryptonote_core
10 years ago
Thomas Winget d8c570b588 All LMDB BlockchainDB implemented, not tested
10 years ago
Thomas Winget e47e343a1c LMDB blockchain: remove outputs and spent keys
10 years ago
Thomas Winget a0af217d9a Adding block data to LMDB BlockchainDB coded
10 years ago
Thomas Winget db00ce0173 Parts of LMDB impl of BlockchainDB done and working
10 years ago
Thomas Winget b98b96489f Initial commit of lmdb BlockchainDB impl
10 years ago
Thomas Winget bc44bc19f4 Initial commit of BlockchainDB tests, other misc
10 years ago
Thomas Winget 07733f98c0 update new blockchain to build with new changes
10 years ago
Thomas Winget 1ffbeb2d2e stupid past me, fixing typos and shit...
10 years ago
Thomas Winget 67515b8b19 missing typedef
10 years ago
Thomas Winget aba548cbf7 import of BlockchainDB files
10 years ago
Riccardo Spagni f4b69d553a
year updated in license
10 years ago
warptangent 21a3c46a1b ensure that keccak is called on view spend key, not a possibly pre-sc_reduce32 version of it
10 years ago
Riccardo Spagni 40971b4ee6
Merge pull request #188
10 years ago
Riccardo Spagni ab7c6c07e7
Merge pull request #180
10 years ago
iamsmooth dde7897fd4 Disable legacy fees for now
10 years ago
iamsmooth cc74b43651 Remove DEFAULT_FEE, add temporary acceptance of too-small per-kb fee >= 0.1, denominations based on DEFAULT_DUST_THRESHOLD, document fee arg to create_transactions as unused, se DEFAULT_DUST_THRESHOLD for wallet dust collection instead of calcualted tx fee
10 years ago
Thomas Winget 557e27fd21 per kb fees
10 years ago
Ben Boeckel 7d708e4223 cmake: support 2.8.7
10 years ago
Ben Boeckel f53f04724c cmake: handle private vs. public headers
10 years ago
Ben Boeckel 55ca7d3b34 cmake: refactor common code with libraries
10 years ago
Ben Boeckel 89cff7bddc cmake: put each library into its own directory
10 years ago
Riccardo Spagni b41907574a
added hardcoded checkpoint at block 249380
10 years ago
Riccardo Spagni 664ae0085d
Merge pull request #167
10 years ago
Riccardo Spagni 1160505454
fixed checkpointing bug
10 years ago
Riccardo Spagni 1663089b33
MoneroPulse log wording tweaks
10 years ago
Thomas Winget aeaa44fe86
fixed signed-unsigned issue from 166
10 years ago
Riccardo Spagni 6f7ed13b72 moved checkpoint log level
10 years ago
Riccardo Spagni 3e644c25c4
moved file checkpointing log output to log1
10 years ago
Thomas Winget c0bdd511c3 Daemon should now exit on conflicting checkpoints
10 years ago
Thomas Winget f0b4138f1f various changes to runtime checkpoint updating
10 years ago
Thomas Winget 7568f89c55 Fixed segfault with checkpoints loading
10 years ago
Thomas Winget b261d9207b DNS checkpoint updating added, and daemon flag to enforce them
10 years ago
Thomas Winget 30caebfce3 reload checkpoints file every ~hr and print if any fail
10 years ago
Thomas Winget 6f2c2e1c27 Adding an identical existing checkpoint should not error
10 years ago
Riccardo Spagni 59a8366bb1 Revert "low risk, potentially varint overflow bug patched thanks to BBR"
10 years ago
Riccardo Spagni 4e2b2b942d low risk, potentially varint overflow bug patched thanks to BBR
10 years ago
Tomer Konforty 06a4578bf2 Added ability to read chechpoint hashes from json file in data folder
10 years ago
iamsmooth 9956b68b18 checkpoint
10 years ago
iamsmooth d19cf1f458 checkpoint
10 years ago
iamsmooth c428c29051 checkpoints
10 years ago
iamsmooth b1d586af4b checkpoint
10 years ago
iamsmooth 400f1016dd checkpoints
10 years ago
Zachary Michaels 45bc24d69b Another preprocessor fix (difficulty.cpp)
10 years ago
Zachary Michaels d03308734b
Separate testnet address prefix
10 years ago
Zachary Michaels 018e251cc0
Separate testnet default data dir
10 years ago
Zachary Michaels 96eed84aad Pass tx and nonce to genesis block constructor
10 years ago
Zachary Michaels fb4146fa34 Reorganize testnet constants
10 years ago
Zachary Michaels 07470fd400
Add testnet flag
10 years ago
iamsmooth bb2b606e91 fix incorrect error message (obvious cut and paste bug from upstream)
10 years ago
iamsmooth 08205f01d9 output rng fix from boolberry
10 years ago
fluffypony 4ba680f294 a few more error messages moved to log level 1
10 years ago
fluffypony cf5a8b1d6c moved non-critical warnings and errors to log level 1
10 years ago
iamsmooth 0a9f2f5236 fix checkpoints
10 years ago
iamsmooth 07680e553f bug fix to checkpoint-on-restore; still fails on 612
10 years ago
iamsmooth 480cf9668f checkpoints on restore; currently fails on 212 checkpoint
10 years ago
Thomas Winget c05489938f override for get_block_longhash for block 202612
10 years ago
Thomas Winget 9a16bb9936 added double-check for 202612 block id
10 years ago
Thomas Winget 115f9523fa hex_to_pod needs the destination as an arg, as opposed to it returning the pod
10 years ago
Thomas Winget a544603a7b Override for block hashing for block 202612
10 years ago
Thomas Winget bdac624899 restored wallets will have timestamp set to June 8 2014.
10 years ago
Riccardo Spagni ba99a86333 Merge pull request #73 from jakoblind/refresh_height
10 years ago
Riccardo Spagni d1b0ee7ecd Merge pull request #64 from mikezackles/bytecoin_tx_pool_tmp
10 years ago
Jakob Lind e4273f2415 #36 simplewallet refresh include optional height param
10 years ago
fluffypony 6fc995fe5d License updated to BSD 3-clause
10 years ago
Zachary Michaels 61e447f7c8 Remove dead code
10 years ago
Zachary Michaels e48cf2a3a9 Remove second tx size check
10 years ago
Zachary Michaels 23c914ccfe Don't check max tx size when adding to block
10 years ago
Zachary Michaels e3b8c58496 Don't check for min fee when adding tx to block
10 years ago
Zachary Michaels 232e23e90f Decrease max block size from 200% median to 130%
10 years ago
Zachary Michaels c017bb0656 Use print_money in log
10 years ago
Zachary Michaels d9f3421ce7 Minimum tx fee for entering pool
10 years ago
Zachary Michaels 8e99cee062 Start fresh if tx_pool deserialize fails
10 years ago
Zachary Michaels a3f5764869 Add transaction size limit
10 years ago
Zachary Michaels 4d25350a82 Use const where appropriate in tx_pool
10 years ago
Zachary Michaels 9872d205ff Make some tx_pool methods static
10 years ago
Zachary Michaels 85a04cb168 Make some tx_pool methods private
10 years ago
Zachary Michaels a633c11cbb Remove unused function
10 years ago
Zachary Michaels 26c83c5dea Explicit namespaces
10 years ago
Zachary Michaels 28af03208b Remove redeclaration
10 years ago
Zachary Michaels b1413fd045 C++ style cast
10 years ago
Zachary Michaels b3092d4e00 Comment unused functions in cryptonote_core
10 years ago
mydesktop eba62452c0 set max block size for gbt
10 years ago
monero-project 2a2b36d425 fix function typo
10 years ago
monero-project c050ff43bf Fix copy/paste bug, thx Boolberry
10 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo 5fcac268b7 Update miner.cpp
10 years ago
fluffypony 3bc16dc0e6 proper tx_pool handling from CryptoZoidberg / BBR
10 years ago
monero-project 0ddbd20129 added checkpoint @ 80000
10 years ago
tom 205494f0d1 change hash for keygen from blake to keccak
10 years ago
Thomas Winget da37b6f15b allow two-random-numbers wallet generation (but not as default)
10 years ago
Thomas Winget 72c3f36ca4 fixed some pointer- and loop-based derps
10 years ago
Thomas Winget d22e458c6c builds, but doesn't link. other than that, electrum-style recovery implemented (but not tested\!)
10 years ago
tom f70bc3a345 defaulted new parameters in modified functions
10 years ago
Thomas Winget 4f382b3830 most functions prototyped/modified for wallet recovery
10 years ago
mydesktop 75fc3e90b1 Fix for orphan fix (check blocksize)
10 years ago
Neozaru 7fea5645e2 'getinfo' daemon HTTP-RPC returns 'target_height' for progress estimations
10 years ago
Neozaru 8530629e22 Merge bitmonero@monero-project
10 years ago
monero-project 2475ec877f typo in tx_pool.cpp
10 years ago
mydesktop 9761529941 fix typing mismatch
10 years ago
mydesktop 328a52a543 dynamic tx size scaling for tx mempool
10 years ago
mydesktop f545fd8ff0 maximum block size 130% of median
10 years ago
mydesktop 31a59785b0 temporary fix for block reward dos
10 years ago
mydesktop e717125073 enable checkpointed block verification
10 years ago
Neozaru af5a28efe5 'mining_status' Daemon RPC command
10 years ago
mydesktop 3a3a817678 0.8.8update
10 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo b5b061e0e8 Update tx_extra.h
10 years ago
monero-project 5ceffa8c8a disable checkpointing for security reasons
10 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo ed444b7175 Update cryptonote_format_utils.cpp
10 years ago
monero-project b27f060815 added checkpoint @ 29556
10 years ago
mydesktop 4baedc4838 fix genesis block hash, checkpoint, days behind
10 years ago
mydesktop 333f975760 initial [broken] update
10 years ago
mydesktop 79a4bedc36 mac osx building fixes
10 years ago
mydesktop 67df296650 various fixes to allow mac osx compilation
10 years ago
Henry Hartshorne 6ed4507803 Changed block minor version
10 years ago
thankful_for_today 0fd82c910b mining bug fixed
10 years ago
thankful_for_today 147aac7c50 checkpoints removed
10 years ago
thankful_for_today 1a8f5ce89a Bitmonero release
10 years ago
Antonio Juarez 9682a15400 Port mapping with UPnP
10 years ago
Antonio Juarez a401a02ddb Improvements in JSON RPC
10 years ago
Antonio Juarez 29c2859a3e json rpc for wallet and bugfix
10 years ago
Antonio Juarez 8efa1313f3 some fixes
10 years ago
Antonio Juarez 296ae46ed8 moved all stuff to github
10 years ago