tari-project / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
356 stars 220 forks source link

fix: ffi wallet seed behaviour #6599

Closed SWvheerden closed 1 month ago

SWvheerden commented 1 month ago

Description

Fixes the wallet FFI behavior so that the wallet will automatically connect to a random seed node and set the rest of the seed nodes as the backup ones.

Motivation and Context

The wallet FFI should not rely on the calling of the set_base_node function to correctly function. That should happen with the start of the wallet. Calling set_base_node should also only limit it to connect to a specific set node and not automatically connect to the seed nodes as well.

github-actions[bot] commented 1 month ago

Test Results (CI)

    3 files    129 suites   34m 42s :stopwatch: 1 325 tests 1 325 :white_check_mark: 0 :zzz: 0 :x: 3 973 runs  3 973 :white_check_mark: 0 :zzz: 0 :x:

Results for commit e5106710.

github-actions[bot] commented 1 month ago

Test Results (Integration tests)

36 tests   36 :white_check_mark:  14m 40s :stopwatch: 11 suites   0 :zzz:  2 files     0 :x:

Results for commit e5106710.