-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wallet: clear memory leaks from radio doge functions
-total redesign of dogecoin_unregister_watch_address_with_node to alleviate calls to concat -populate wallet->filename on dogecoin_wallet_new otherwise it's populated by name and freed -added replace_last_after_delim which searchs for a match and replaces with replacement -added remove_substr which returns a string with substr removed -changed wallet cmd to sanity -sanity cmd test now iterates through multiple addresses -free waddr and buf and call dogecoin_wallet_next_addr on edge case where we delete our last address -refactor/fix spvtool.py, fetch.py, .gitignore dummy -clear spvnode wallet sanity cmd of memleaks -fix wallet sanity check on windows -added file_copy function to utils -check if file exists before performance of file operations -free remaining waddr during sanity check -run wallet sanity check in spvtool.py test and verify wallet balance -run spvtool.py only on returncode match from previous subprocess completion -add Dockerfile for easier implementation -add to x86_64-linux-dbg in ci.yml -adapt to use -l for zero prompts during automated testing
- Loading branch information
Showing
11 changed files
with
303 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,6 +118,7 @@ dist/ | |
contrib/gitian/ | ||
contrib/gitian/* | ||
example | ||
dummy | ||
|
||
# CMake files | ||
build/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ubuntu:jammy AS build | ||
|
||
# configure the shell before the first RUN | ||
SHELL ["/bin/bash", "-ex", "-o", "pipefail", "-c"] | ||
|
||
WORKDIR /home/root | ||
|
||
COPY ./rpctest ./rpctest | ||
COPY spvnode . | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
python3 \ | ||
python3-requests \ | ||
libevent-dev | ||
|
||
RUN ./rpctest/fetch.py --host x86_64-linux-gnu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.