Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Gateways #2

Closed
wants to merge 13 commits into from
Closed

Gateways #2

wants to merge 13 commits into from

Conversation

Mixa84
Copy link
Owner

@Mixa84 Mixa84 commented Nov 26, 2018

  • Changed gateways withdrawal flow
  • Added txnotarizedconfirmed function to check if transaction is confirmed/notarized
  • Fixed max number of inputs when adding in varuous CC functions
  • Added TESTMODE to set CC confirmation tx to 2 blocks instead of 60

@Mixa84 Mixa84 closed this Nov 26, 2018
@Mixa84 Mixa84 deleted the gateways branch November 28, 2018 20:03
Mixa84 pushed a commit that referenced this pull request Dec 25, 2018
Mixa84 pushed a commit that referenced this pull request Jan 9, 2019
Adding markers for cancel in fill buy/sell (#10)
Mixa84 pushed a commit that referenced this pull request Jun 15, 2019
Mixa84 pushed a commit that referenced this pull request Aug 9, 2019
Mixa84 pushed a commit that referenced this pull request Apr 16, 2020
* [zmq] Call va_end() on va_start()ed args.

bitcoin/bitcoin@5ba61f0

Issue: bitcoin/bitcoin#10056

* Easier sort order

Alphabetized to make manually finding chains easier.

* Update assetchains.json

* Update assetchains.json

* Update assetchains.old sort oder

Because ease of use and utility seems better than pseudo-chronology.

* move update komodo internal structures to separate thread

move komodo_passport_iteration and komodo_cbopretupdate from
WaitForShutdown loop to separate thread ThreadUpdateKomodoInternals()

* fix ThreadUpdateKomodoInternals fireDelay

for KMD it should be 10, according to prev implementation in
WaitForShutdown, for assetchains it should be ASSETCHAINS_BLOCKTIME/5

* fix ThreadUpdateKomodoInternals fireDelay

should be +1 bcz it was loop for(i=0; i<=ASSETCHAINS_BLOCKTIME/5;i++)
in original loop.

* fix time units in debug printout (s -> ms)

* komodo_longestchain: TRY_LOCK experiment (revert if needed)

* remove debug assertions

* remove komodo_longestchain() call from BitcoinMiner()

we don't need iterate all nodes stats inside a miner to know
max of (nStartingHeight, nSyncHeight, nCommonHeight) to get
longestchain. it's wasting CPU resources. also we don't need
additional locks directly in miner.

* komodo_longestchain(): remove debug prinouts, TRY_LOCK(cs_main) remains

* remove debug printouts and NotifyBlockTip connection

* remove one more php version

* remove blackjok3r's wallet filter code

* new implementation of wallet filter

If any vout of tx is belongs to wallet (IsMine(tx) == true) and tx is not from us, mean,
if every vin not belongs to our wallet (IsFromMe(tx) == false), then tx need to be checked
through wallet filter. If tx haven't any vin from trusted / whitelisted address it shouldn't
be added into wallet.

Using GetTransaction instead of myGetTransaction to get prevTx and
determine vins addresses. This will allow walletfilter code to work
without txindex=1 on any (!) nodes, not only notaries. If even one
-whitelistaddress arg set wallet filter is enabled and should allow
incoming txes from any addresses belongs to wallet (even watch-only)
and addresses listed in -whitelistaddress args. If -whitelistaddress
arg is not set wallet filter is disabled.

* remove Sign1 creatsig error message

* remove keystore.%p error message

* CVE-2018–20586 fix

- https://medium.com/@lukedashjr/cve-2018-20586-disclosure-ff3e1ab9a21f
- https://github.com/bitcoin/bitcoin/pull/14618/files

* rpc: work-around an upstream libevent bug

A rare race condition may trigger while awaiting the body of a message, see
upsteam commit libevent/libevent@5ff8eb2 for details.

This may fix some reported rpc hangs/crashes.

Issue: bitcoin/bitcoin#11593

Commits:
- bitcoin/bitcoin@6b58360
- bitcoin/bitcoin@97932cd

* try (1) to fix GH actions

* try (2) to fix GH actions

* walletfilter: log into debug.log, instead of stderr

* remove dead code in init

Equivalent to zcash#4245

* limit blockchain progress to a max of 1.000000

Issue: zcash#3161
Fix commit: zcash@b3594b5

* bump KMD version

0.5.3

* remove hush3 from assetchains.old

* remove hush3 from assetchains.json

* disable assertion when -debug arg is passed

* CI: remove php7.4-fpm dependency

* update boost src

Co-authored-by: ca333 <[email protected]>
Co-authored-by: DeckerSU <[email protected]>
Co-authored-by: TheComputerGenie <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant