Page MenuHomePhabricator

Basic multiwallet support
ClosedPublic

Authored by deadalnix on Jan 14 2018, 02:20.

Details

Summary

Backport of core's PR8694

Depends on D930

Test Plan
make check
./test/functional/test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
multiwallet
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1596
Build 1596: arc lint + arc unit

Event Timeline

Herald added a reviewer: Restricted Project. · View Herald Transcript

Unless I'm mistaken, this eventually will call down to:

src/wallet/db.cpp
177:    int result = bitdb.dbenv->dbrename(nullptr, filename.c_str(), nullptr,

The behavior of an empty filename isn't specified by that function, and I don't see any protection around that anywhere in the codebase.

src/wallet/db.cpp
275

backup_filename is ""

src/wallet/wallet.cpp
544

backup_filename is ""

This revision is now accepted and ready to land.Jan 16 2018, 02:52
This revision was automatically updated to reflect the committed changes.