Add the public facing documentation about the plugin framework: explaining the interface, how to load plugin and the example PostgreSQL plugin implementation. Updated the rust documentation for the plugin interfaces for accounts and slot. This changes are targeted for v1.8. Information about transactions will be updated later.
		
			
				
	
	
		
			211 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			211 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| module.exports = {
 | |
|   docs: {
 | |
|     About: ["introduction", "terminology", "history"],
 | |
|     Wallets: [
 | |
|       "wallet-guide",
 | |
|       "wallet-guide/apps",
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Web Wallets",
 | |
|         items: ["wallet-guide/web-wallets", "wallet-guide/solflare"],
 | |
|       },
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Hardware Wallets",
 | |
|         items: ["wallet-guide/ledger-live"],
 | |
|       },
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Command-line Wallets",
 | |
|         items: [
 | |
|           "wallet-guide/cli",
 | |
|           "wallet-guide/paper-wallet",
 | |
|           {
 | |
|             type: "category",
 | |
|             label: "Hardware Wallets",
 | |
|             items: [
 | |
|               "wallet-guide/hardware-wallets",
 | |
|               "wallet-guide/hardware-wallets/ledger",
 | |
|             ],
 | |
|           },
 | |
|           "wallet-guide/file-system-wallet",
 | |
|         ],
 | |
|       },
 | |
|       "wallet-guide/support",
 | |
|     ],
 | |
|     Staking: ["staking", "staking/stake-accounts"],
 | |
|     "Command Line": [
 | |
|       "cli",
 | |
|       "cli/install-solana-cli-tools",
 | |
|       "cli/conventions",
 | |
|       "cli/choose-a-cluster",
 | |
|       "cli/transfer-tokens",
 | |
|       "cli/delegate-stake",
 | |
|       "cli/deploy-a-program",
 | |
|       "offline-signing",
 | |
|       "offline-signing/durable-nonce",
 | |
|       "cli/usage",
 | |
|     ],
 | |
|     Developing: [
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Programming Model",
 | |
|         items: [
 | |
|           "developing/programming-model/overview",
 | |
|           "developing/programming-model/transactions",
 | |
|           "developing/programming-model/accounts",
 | |
|           "developing/programming-model/runtime",
 | |
|           "developing/programming-model/calling-between-programs",
 | |
|         ],
 | |
|       },
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Clients",
 | |
|         items: [
 | |
|           "developing/clients/jsonrpc-api",
 | |
|           "developing/clients/javascript-api",
 | |
|           "developing/clients/javascript-reference",
 | |
|           "developing/clients/rust-api",
 | |
|         ],
 | |
|       },
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Runtime Facilities",
 | |
|         items: [
 | |
|           "developing/runtime-facilities/programs",
 | |
|           "developing/runtime-facilities/sysvars",
 | |
|         ],
 | |
|       },
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "On-chain Programs",
 | |
|         items: [
 | |
|           "developing/on-chain-programs/overview",
 | |
|           "developing/on-chain-programs/developing-rust",
 | |
|           "developing/on-chain-programs/developing-c",
 | |
|           "developing/on-chain-programs/deploying",
 | |
|           "developing/on-chain-programs/debugging",
 | |
|           "developing/on-chain-programs/examples",
 | |
|           "developing/on-chain-programs/faq",
 | |
|         ],
 | |
|       },
 | |
|       "developing/test-validator",
 | |
|       "developing/backwards-compatibility",
 | |
|       "developing/plugins/accountsdb_plugin"
 | |
|     ],
 | |
|     Integrating: ["integrations/exchange"],
 | |
|     Validating: [
 | |
|       "running-validator",
 | |
|       "running-validator/validator-reqs",
 | |
|       "running-validator/validator-start",
 | |
|       "running-validator/vote-accounts",
 | |
|       "running-validator/validator-stake",
 | |
|       "running-validator/validator-monitor",
 | |
|       "running-validator/validator-info",
 | |
|       "running-validator/validator-failover",
 | |
|       "running-validator/validator-troubleshoot",
 | |
|     ],
 | |
|     Clusters: [
 | |
|       "clusters",
 | |
|       "cluster/rpc-endpoints",
 | |
|       "cluster/bench-tps",
 | |
|       "cluster/performance-metrics",
 | |
|     ],
 | |
|     Architecture: [
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Cluster",
 | |
|         items: [
 | |
|           "cluster/overview",
 | |
|           "cluster/synchronization",
 | |
|           "cluster/leader-rotation",
 | |
|           "cluster/fork-generation",
 | |
|           "cluster/managing-forks",
 | |
|           "cluster/turbine-block-propagation",
 | |
|           "cluster/vote-signing",
 | |
|           "cluster/stake-delegation-and-rewards",
 | |
|         ],
 | |
|       },
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Validator",
 | |
|         items: [
 | |
|           "validator/anatomy",
 | |
|           "validator/tpu",
 | |
|           "validator/tvu",
 | |
|           "validator/blockstore",
 | |
|           "validator/gossip",
 | |
|           "validator/runtime",
 | |
|         ],
 | |
|       },
 | |
|     ],
 | |
|     Economics: [
 | |
|       "economics_overview",
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Inflation Design",
 | |
|         items: [
 | |
|           "inflation/terminology",
 | |
|           "inflation/inflation_schedule",
 | |
|           "inflation/adjusted_staking_yield",
 | |
|         ],
 | |
|       },
 | |
|       "transaction_fees",
 | |
|       "storage_rent_economics",
 | |
|     ],
 | |
|     "Design Proposals": [
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Implemented",
 | |
|         items: [
 | |
|           "implemented-proposals/implemented-proposals",
 | |
|           "implemented-proposals/abi-management",
 | |
|           "implemented-proposals/bank-timestamp-correction",
 | |
|           "implemented-proposals/commitment",
 | |
|           "implemented-proposals/durable-tx-nonces",
 | |
|           "implemented-proposals/installer",
 | |
|           "implemented-proposals/instruction_introspection",
 | |
|           "implemented-proposals/leader-leader-transition",
 | |
|           "implemented-proposals/leader-validator-transition",
 | |
|           "implemented-proposals/persistent-account-storage",
 | |
|           "implemented-proposals/readonly-accounts",
 | |
|           "implemented-proposals/reliable-vote-transmission",
 | |
|           "implemented-proposals/rent",
 | |
|           "implemented-proposals/repair-service",
 | |
|           "implemented-proposals/rpc-transaction-history",
 | |
|           "implemented-proposals/snapshot-verification",
 | |
|           "implemented-proposals/staking-rewards",
 | |
|           "implemented-proposals/testing-programs",
 | |
|           "implemented-proposals/tower-bft",
 | |
|           "implemented-proposals/transaction-fees",
 | |
|           "implemented-proposals/validator-timestamp-oracle",
 | |
|         ],
 | |
|       },
 | |
|       {
 | |
|         type: "category",
 | |
|         label: "Accepted",
 | |
|         items: [
 | |
|           "proposals/accepted-design-proposals",
 | |
|           "proposals/bankless-leader",
 | |
|           "proposals/block-confirmation",
 | |
|           "proposals/cluster-test-framework",
 | |
|           "proposals/embedding-move",
 | |
|           "proposals/interchain-transaction-verification",
 | |
|           "proposals/ledger-replication-to-implement",
 | |
|           "proposals/optimistic-confirmation-and-slashing",
 | |
|           "proposals/optimistic_confirmation",
 | |
|           "proposals/rip-curl",
 | |
|           "proposals/rust-clients",
 | |
|           "proposals/simple-payment-and-state-verification",
 | |
|           "proposals/slashing",
 | |
|           "proposals/snapshot-verification",
 | |
|           "proposals/tick-verification",
 | |
|           "proposals/transactions-v2",
 | |
|           "proposals/validator-proposal",
 | |
|           "proposals/vote-signing-to-implement",
 | |
|         ],
 | |
|       },
 | |
|     ],
 | |
|   },
 | |
| };
 |