BTC.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <template>
  2. <main class="min-h-full">
  3. <SiteHeaderView />
  4. <section class="mt-8 pb-8">
  5. <div class="max-w-3xl mx-auto px-4 sm:px-6 lg:max-w-7xl lg:px-8">
  6. <div class="p-5 max-w-xl flex flex-col bg-gradient-to-r from-gray-900 to-yellow-900 border-2 border-yellow-400 rounded-lg shadow">
  7. <span class="block text-gray-100 font-medium">- Recommended</span>
  8. <span class="block text-gray-100 font-medium">- Descriptions</span>
  9. <span class="block text-gray-100 font-medium">- Kitchen Sink</span>
  10. </div>
  11. <h1 class="sr-only">
  12. Bitcoin Configuration
  13. </h1>
  14. <!-- Main 3 column grid -->
  15. <div class="mt-5 grid grid-cols-1 gap-4 items-start lg:grid-cols-3 lg:gap-8">
  16. <section class=" flex flex-col col-span-2 space-y-4 ">
  17. <h1 class="text-3xl font-bold text-yellow-900">
  18. bitcoin.conf
  19. <small class="text-lg text-yellow-600">Recommended for Best DX</small>
  20. </h1>
  21. <pre class="p-5 text-yellow-900 bg-yellow-50 border-2 border-yellow-200 rounded-lg shadow">
  22. # location to store blockchain and other data.
  23. datadir=/data/Bitcoin
  24. dbcache=4000
  25. # Must set txindex=1 so Bitcoin keeps the full index
  26. txindex=1
  27. # [rpc]
  28. # Accept command line and JSON-RPC commands.
  29. server=1
  30. # Default Username and Password for JSON-RPC connections
  31. # BitDB uses these values by default, but if you can change the settings
  32. # By setting the config.json file in BitDB folder
  33. rpcuser=root
  34. rpcpassword=bitcoin
  35. # If you want to allow remote JSON-RPC access
  36. rpcallowip=0.0.0.0/0
  37. # [wallet]
  38. disablewallet=1
  39. # [ZeroMQ]
  40. # ZeroMQ messages power the realtime BitDB crawler
  41. # so it's important to set the endpoint
  42. zmqpubhashtx=tcp://127.0.0.1:28332
  43. zmqpubhashblock=tcp://127.0.0.1:28332
  44. # BitDB makes heavy use of JSON-RPC so it's set to a higher number
  45. # But you can tweak this number as you want
  46. rpcworkqueue=512</pre>
  47. <h1 class="text-3xl font-bold text-yellow-900">
  48. bitcoin.conf
  49. <small class="text-lg text-yellow-600">Kitchen Sink</small>
  50. </h1>
  51. <pre class="p-5 text-yellow-900 bg-yellow-50 border-2 border-yellow-200 rounded-lg shadow">
  52. # location to store blockchain and other data.
  53. datadir=/data/Bitcoin
  54. dbcache=4000
  55. ...</pre>
  56. </section>
  57. <!-- Right column -->
  58. <div class="grid grid-cols-1 gap-4">
  59. Bitcoin configuration files.
  60. </div>
  61. </div>
  62. </div>
  63. </section>
  64. <FooterView />
  65. </main>
  66. </template>
  67. <script>
  68. // import { mapGetters } from 'vuex'
  69. export default {
  70. // middleware: 'magic.auth',
  71. data: () => ({
  72. //
  73. }),
  74. head: () => ({
  75. title: 'Blank — APECS Dev',
  76. meta: [
  77. {
  78. hid: 'description', // `vmid` for it as it will not work
  79. name: 'description',
  80. content: 'TBD..'
  81. }
  82. ]
  83. }),
  84. computed: {
  85. // ...mapGetters({
  86. // // panelIsShowing: 'system/getPanelState'
  87. // })
  88. },
  89. created: function () {
  90. //
  91. },
  92. mounted: function () {
  93. //
  94. },
  95. methods: {
  96. //
  97. }
  98. }
  99. </script>