Move BPT update logic out of the database [#3238]
Closes #3238 (closed). Moves the logic that calculates the BPT entry for an account out of the database in preparation for versioning it.
Changelog: refactor
Closes #3238 (closed). Moves the logic that calculates the BPT entry for an account out of the database in preparation for versioning it.
Changelog: refactor