dashed-slug.net › Forums › General discussion › Great Plugin! – A few questions.
Tagged: balance, Mycred, paypal, pruned node, subscription
- This topic has 5 replies, 2 voices, and was last updated 5 years, 6 months ago by alexg.
-
AuthorPosts
-
April 9, 2019 at 4:48 pm #6111AnonymousInactive
Thanks for this excellent plugin! Works right out of the box!
I have a few questions:
If you subscribe to the premium version, how can you cancel the subscription if you can’t figure out how to get it working?!
Can you use a pruned bitcoin node as an adapter?
I’m looking for a way to populate my custom Fiat symbol with the balance of the [default_mycred_balance] Mycred is a points reward system with lots of hooks for user engagement. Any thoughts?
Thanks again!
April 10, 2019 at 8:38 am #6114alexgKeymasterHello,
1. You can cancel your recurring payment via paypal at any time, and at the next billing session your subscription will go back to free.
2. I haven’t tested pruned nodes but they should work, at least in theory. I don’t see why not. If they don’t, please let me know.
3. Generally the plugin does not communicate with MyCred.
However, you can use the PHP API to override any user balance. Please see: https://wallets-phpdoc.dashed-slug.net/classes/Dashed_Slug_Wallets_PHP_API.html#method_api_balance_filter You will need some knowledge of PHP to do this. Hook into the filter with a priority higher than 10 and override the balance value with whatever value MyCred gives you for the requested user…
with regards
April 10, 2019 at 7:05 pm #6153AnonymousInactiveThanks for your reply.
About pruned nodes:
according to: https://bitcoin.org/en/full-node#configuration-tuning
Running a node in pruned mode is incompatible with -txindex and -rescan. It also disables the RPC importwallet. Two RPCs that are available and potentially helpful, however, are importprunedfunds and removeprunedfunds.
I wonder if the RPC command -importwallet is used in the plugin?
Well, I’ll try to spin up a pruned node and report back!
April 11, 2019 at 10:36 am #6161alexgKeymasterI believe it should work.
The plugin does not use this RPC command and does not need txindex or rescan.
If you do have any results, I will appreciate any info you can post.
with regards
April 15, 2019 at 10:08 pm #6194AnonymousInactiveIt took over 5 days to sync! I can confirm that a very selfish pruned node seems to work perfect. I’ll report back after a bit more testing.
Thanks!
April 16, 2019 at 7:34 am #6195alexgKeymasterThank you for taking the time to post this info!
That makes sense, it’s probably best to run a pruned node in most cases, as it saves on server resources.
-
AuthorPosts
- You must be logged in to reply to this topic.