* Create CODE_OF_CONDUCT.md
Code of conduct added
* changed discord to google form
* Update CODE_OF_CONDUCT.md
Updated code of conduct to match community project.
* Update CODE_OF_CONDUCT.md
Updated code of conduct to match community project.
Added google form.
---------
Co-authored-by: Ori Newman <orinewman1@gmail.com>
* Fix IBD sync conditions
* Fix syntax
* Fix Sprintf
* Bump version
* On negotiation check only blocks in future of PP
* Only log error and add comment
* Fix comment
* Compare blue score with selected tip when checking if a pruning point proof is needed
* Don't redeclare err
Co-authored-by: Michael Sutton <mikisiton2@gmail.com>
* Use one of the From addresses as a change address
* Use change address from fromAddress only if useExisting is set to true
* Change FromAddresses description
* Call UpdatePruningPointIfRequired when resolving virtual
* Don't sanity check pruning point UTXO set if it's genesis
* Add UpdatePruningPointIfRequired on init
* fix mempool accessing, rewrite get_mempool_entries_by_addresses
* fix counter, add verbose
* fmt
* addresses as string
* Define error in case utxoEntry is missing.
* fix error variable to string
* stop tests from failing (see in code comment)
* access both pools in the same state via parameters
* get rid of todo message
* fmt - very important!
* perf: scriptpublickey in mempool, no txscript.
* address reveiw
* fmt fix
* mixed up isorphan bool, pass tests now
* do map preallocation in mempoolbyaddresses
* no proallocation for orphanpool sending.
Co-authored-by: Ori Newman <orinewman1@gmail.com>
* Illustrate the bug through prints
* Change consensus API to a single ResolveVirtual call
* nil changeset is not expected when err=nil
* Fixes a deep bug in the resolve virtual process
* Be more defensive at resolving virtual when adding a block
* When finally resolved, set virtual parents properly
* Return nil changeset when nothing happened
* Make sure the block at the split point is reversed to new chain as well
* bump to version 0.12.4
* Avoid locking consensus twice in the common case of adding block with updateVirtual=true
* check err
* Parents must be picked first before set as virtual parents
* Keep the flag for tracking virtual state, since tip sorting perf is high with many tips
* Improve and clarify resolve virtual tests
* Addressing minor review comments
* Fixed a bug in the reported virtual changeset, and modified the test to verify it
* Addressing review comments
* Logger: change log level for "Couldn't find UTXO entry" to debug
* ignore error for orphans
* continue also if orphans
* check if blocks exist
* safe rpc mode
* limit window size
* verify block status depending on context
* allow a 2 factor gap in expected mergeset size
Co-authored-by: msutton <mikisiton2@gmail.com>