mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #6332
87d7558
Allow wallet2.h to run in WebAssembly (woodser)
This commit is contained in:
commit
2d729fbdf7
16 changed files with 517 additions and 318 deletions
|
@ -29,6 +29,7 @@
|
|||
#include "include_base_utils.h"
|
||||
#include "file_io_utils.h"
|
||||
#include "net/http_client.h"
|
||||
#include "net/net_ssl.h"
|
||||
#include "fuzzer.h"
|
||||
|
||||
class dummy_client
|
||||
|
@ -46,6 +47,10 @@ public:
|
|||
data.clear();
|
||||
return true;
|
||||
}
|
||||
void set_ssl(epee::net_utils::ssl_options_t ssl_options) { }
|
||||
bool is_connected(bool *ssl = NULL) { return true; }
|
||||
uint64_t get_bytes_sent() const { return 1; }
|
||||
uint64_t get_bytes_received() const { return 1; }
|
||||
|
||||
void set_test_data(const std::string &s) { data = s; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue